Skip to content

Commit

Permalink
Try to fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Feb 10, 2022
1 parent caf6d72 commit ca58368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/test/test_runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ def tick(self):
0, test_shape.get_current_user_count(), "Shape is not seeing stopped runner user count correctly"
)
self.assertDictEqual(master.reported_user_classes_count, {"FixedUser1": 0, "FixedUser2": 0, "TestUser": 0})

sleep(0.5)
self.assertEqual(STATE_STOPPED, master.state)

def test_distributed_shape_with_stop_timeout(self):
Expand Down

0 comments on commit ca58368

Please sign in to comment.