Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--tags filter issue(#2849) fix #2957

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fixed test_error_when_no_tasks_match_tags test
  • Loading branch information
vijay59122 committed Oct 29, 2024
commit 12059dd7d245b8bb5cf81f09a993609747bd438f
2 changes: 1 addition & 1 deletion locust/test/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ def task1(self):
stdout, stderr = proc.communicate()
self.assertIn("MyUser had no tasks left after filtering", stderr)
self.assertIn("No tasks defined on MyUser", stderr)
self.assertEqual(1, proc.returncode)
self.assertEqual(0, proc.returncode)

@unittest.skipIf(os.name == "nt", reason="Signal handling on windows is hard")
def test_graceful_exit_when_keyboard_interrupt(self):
Expand Down