Skip to content

Commit

Permalink
Relax bounds check for throttled driver test
Browse files Browse the repository at this point in the history
With this commit we relax the check of the lower bound a little bit to
make the test more robust against short system stalls.
  • Loading branch information
danielmitterdorfer committed Oct 25, 2019
1 parent c2449ba commit f575790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/driver/driver_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ def test_execute_schedule_throughput_throttled(self, es):
challenges=None)

# in one second (0.5 warmup + 0.5 measurement) we should get 1000 [ops/s] / 4 [clients] = 250 samples
for target_throughput, bounds in {10: [2, 4], 100: [24, 26], 1000: [245, 255]}.items():
for target_throughput, bounds in {10: [2, 4], 100: [24, 26], 1000: [235, 255]}.items():
task = track.Task("time-based", track.Operation("time-based", track.OperationType.Bulk.name, params={
"body": ["action_metadata_line", "index_line"],
"action-metadata-present": True,
Expand Down

0 comments on commit f575790

Please sign in to comment.