diff options
author | mbeierl <mark.beierl@dell.com> | 2017-01-26 11:30:26 -0500 |
---|---|---|
committer | mbeierl <mark.beierl@dell.com> | 2017-01-26 11:45:50 -0500 |
commit | 3d41a65738c44c2859ec9bdba11a0c0714b62b14 (patch) | |
tree | dd3401b659272b77543702d3baeac8d02fa9a9a8 /tests | |
parent | 29cab6cd9d6e669c74a1dd6960aba8250f539c2f (diff) |
Hardening FIO interaction
Fixes a problem where FIO does not terminate by scheduling a
second killall if we get a specific message back from FIO
stderr.
Introduces a new flavor for StorPerf that has a little more
memory as larger memory maps for duplicate blocks sometimes
caused out of memory killer to be invoked.
Change-Id: I06856561ad73fef582a81d4136a36a1bea47654a
JIRA: STORPERF-99
Signed-off-by: mbeierl <mark.beierl@dell.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/utilities_tests/data_handler_test.py | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/utilities_tests/data_handler_test.py b/tests/utilities_tests/data_handler_test.py index 8115c6d..3813957 100644 --- a/tests/utilities_tests/data_handler_test.py +++ b/tests/utilities_tests/data_handler_test.py @@ -114,6 +114,10 @@ class DataHandlerTest(unittest.TestCase): series = [[4804559100, 205.345], [4804559200, 201.59], [4804559300, 205.76], + [4804559400, 205.76], + [4804559500, 205.76], + [4804559600, 205.76], + [4804559700, 205.76], [4804560300, 219.37], [4804560400, 219.28], [4804560500, 217.75]] @@ -199,15 +203,19 @@ class DataHandlerTest(unittest.TestCase): series = [[4804559100, 205.345], [4804559200, 201.59], [4804559300, 205.76], + [4804559400, 205.76], + [4804559500, 205.76], + [4804559600, 205.76], + [4804559700, 205.76], [4804560300, 219.37], [4804560400, 219.28], [4804560500, 217.75]] mock_graphite_db.return_value = series mock_time.return_value = 4804560500 + 10 - expected_slope = 0.011830471529818998 + expected_slope = 0.01266822319352225 expected_range = 17.78 - expected_average = 211.51583333333335 + expected_average = 209.2135 self.current_workload = ("%s.%s.queue-depth.%s.block-size.%s" % ("job_id", @@ -240,4 +248,3 @@ class DataHandlerTest(unittest.TestCase): self.assertEqual(True, self._terminated) self.assertEqual(False, self.pushed) - self.assertEqual(True, self._terminated) |