@@ -47,7 +47,7 @@ def test_running_base_functionality(tt_cmd, tmpdir_with_cfg):
47
47
# Stop the Instance.
48
48
stop_cmd = [tt_cmd , "stop" , "test_app" ]
49
49
stop_rc , stop_out = run_command_and_get_output (stop_cmd , cwd = tmpdir )
50
- assert status_rc == 0
50
+ assert stop_rc == 0
51
51
assert re .search (r"The Instance test_app \(PID = \d+\) has been terminated." , stop_out )
52
52
53
53
# Check that the process was terminated correctly.
@@ -112,7 +112,7 @@ def test_restart(tt_cmd, tmpdir_with_cfg):
112
112
# Stop the new Instance.
113
113
stop_cmd = [tt_cmd , "stop" , "test_app" ]
114
114
stop_rc , stop_out = run_command_and_get_output (stop_cmd , cwd = tmpdir )
115
- assert status_rc == 0
115
+ assert stop_rc == 0
116
116
assert re .search (r"The Instance test_app \(PID = \d+\) has been terminated." , stop_out )
117
117
118
118
# Check that the process of new Instance was terminated correctly.
@@ -257,7 +257,7 @@ def test_running_base_functionality_working_dir_app(tt_cmd):
257
257
# Stop the application.
258
258
stop_cmd = [tt_cmd , "stop" , "app" ]
259
259
stop_rc , stop_out = run_command_and_get_output (stop_cmd , cwd = test_app_path )
260
- assert status_rc == 0
260
+ assert stop_rc == 0
261
261
assert re .search (r"The Instance app:(router|master|replica|stateboard) \(PID = \d+\) "
262
262
r"has been terminated." , stop_out )
263
263
@@ -309,7 +309,7 @@ def test_running_base_functionality_working_dir_app_no_app_name(tt_cmd):
309
309
# Stop the application.
310
310
stop_cmd = [tt_cmd , "stop" ]
311
311
stop_rc , stop_out = run_command_and_get_output (stop_cmd , cwd = test_app_path )
312
- assert status_rc == 0
312
+ assert stop_rc == 0
313
313
assert re .search (r"The Instance app:(router|master|replica|stateboard) \(PID = \d+\) "
314
314
r"has been terminated." , stop_out )
315
315
@@ -545,7 +545,7 @@ def test_no_args_usage(tt_cmd):
545
545
# Stop all applications.
546
546
stop_cmd = [tt_cmd , "stop" ]
547
547
stop_rc , stop_out = run_command_and_get_output (stop_cmd , cwd = test_app_path )
548
- assert status_rc == 0
548
+ assert stop_rc == 0
549
549
assert re .search (r"The Instance app1:(router|master|replica) \(PID = \d+\) "
550
550
r"has been terminated." , stop_out )
551
551
assert re .search (r"The Instance app2 \(PID = \d+\) "
@@ -589,7 +589,7 @@ def test_running_env_variables(tt_cmd, tmpdir_with_cfg):
589
589
# Stop the Instance.
590
590
stop_cmd = [tt_cmd , "stop" , "test_env_app" ]
591
591
stop_rc , stop_out = run_command_and_get_output (stop_cmd , cwd = tmpdir )
592
- assert status_rc == 0
592
+ assert stop_rc == 0
593
593
assert re .search (r"The Instance test_env_app \(PID = \d+\) has been terminated." , stop_out )
594
594
595
595
# Check that the process was terminated correctly.
0 commit comments