Skip to content

Commit b215c95

Browse files
themilchenkooleg-jukovec
authored andcommitted
test: fix stop without prompt
Since `stop` command needs confirmation by default, new tests was failed waiting indefinitely for confirmation. After the patch `stop` is executed with `-y` flag to ignore the confirmation request. Follow up #916
1 parent 75d732b commit b215c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/replicaset/test_replicaset_roles_remove.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def test_replicaset_cconfig_roles_remove(
198198
start_application(tt_cmd, tmpdir_with_cfg, app_name, instances)
199199

200200
if stop_instance:
201-
stop_cmd = [tt_cmd, "stop", f"{app_name}:{stop_instance}"]
201+
stop_cmd = [tt_cmd, "stop", "-y", f"{app_name}:{stop_instance}"]
202202
rc, _ = run_command_and_get_output(stop_cmd, cwd=tmpdir_with_cfg)
203203
assert rc == 0
204204

0 commit comments

Comments
 (0)