Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Oct 18, 2021
1 parent 212ff64 commit aabe44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/test/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def tick(self):
self.assertIn("Shape test updating to 10 users at 1.00 spawn rate", stderr)
self.assertTrue(success, "Got timeout and had to kill the process")
# ensure stats printer printed at least one report before shutting down and that there was a final report printed as well
self.assertRegex(stderr, re.compile(".*Aggregated[\S\s]*Shutting down[\S\s]*Aggregated.*"))
self.assertRegex(stderr, r".*Aggregated[\S\s]*Shutting down[\S\s]*Aggregated.*")
self.assertIn("Shutting down (exit code 0)", stderr)
self.assertEqual(0, proc.returncode)

Expand Down

0 comments on commit aabe44d

Please sign in to comment.