From b215c95e471572b71d3ac43f856fe2eef93b2f97 Mon Sep 17 00:00:00 2001 From: themilchenko Date: Tue, 3 Sep 2024 16:28:22 +0300 Subject: [PATCH] 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 --- test/integration/replicaset/test_replicaset_roles_remove.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/replicaset/test_replicaset_roles_remove.py b/test/integration/replicaset/test_replicaset_roles_remove.py index 07b88430e..5494958b0 100644 --- a/test/integration/replicaset/test_replicaset_roles_remove.py +++ b/test/integration/replicaset/test_replicaset_roles_remove.py @@ -198,7 +198,7 @@ def test_replicaset_cconfig_roles_remove( start_application(tt_cmd, tmpdir_with_cfg, app_name, instances) if stop_instance: - stop_cmd = [tt_cmd, "stop", f"{app_name}:{stop_instance}"] + stop_cmd = [tt_cmd, "stop", "-y", f"{app_name}:{stop_instance}"] rc, _ = run_command_and_get_output(stop_cmd, cwd=tmpdir_with_cfg) assert rc == 0