File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -791,6 +791,7 @@ def t(self):
791791 with mock_locustfile (content = LOCUSTFILE_CONTENT ) as mocked :
792792 with TestProcess (f"locust -f { mocked .file_path } --headless -u 3" ) as tp :
793793 tp .expect ("Total fixed_count of User classes (4) is greater than " )
794+ tp .expect ("Ramping to 3 users at a rate of 1.00 per second" )
794795 tp .expect ("Aggregated" )
795796
796797 def test_with_package_as_locustfile (self ):
@@ -1087,9 +1088,9 @@ def hello_world(self):
10871088 )
10881089 with mock_locustfile (content = LOCUSTFILE_CONTENT ) as mocked :
10891090 proc = TestProcess (
1090- f"locust -f { mocked .file_path } --host http://google.com --headless -u 5 -r 5 -t 1 --json" ,
1091+ f"locust -f { mocked .file_path } --host http://google.com --headless -u 5 -r 5 -t 2 --json" ,
10911092 sigint_on_exit = False ,
1092- join_timeout = 2 ,
1093+ join_timeout = 4 ,
10931094 )
10941095 proc .close ()
10951096 stdout = "\n " .join (proc .stdout_output )
You can’t perform that action at this time.
0 commit comments