8000 test: increase timeout for flaky test by patapenka-alexey · Pull Request #1177 · tarantool/tt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

test: increase timeout for flaky test #1177

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

Merged
merged 1 commit into from
Jun 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions test/integration/replicaset/test_replicaset_vshard.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ def vshard_cconfig_app_timeout_tt_env(request, tt_cmd, vshard_tt_env_session):

# Copy application.
shutil.copytree(
os.path.join(os.path.dirname(__file__), vshard_cconfig_app_name_timeout), app_path,
os.path.join(os.path.dirname(__file__), vshard_cconfig_app_name_timeout),
app_path,
)

# Start a cluster.
Expand All @@ -308,7 +309,8 @@ def stop_and_clean():


@pytest.mark.skipif(
tarantool_major_version < 3, reason="skip centralized config test for Tarantool < 3",
tarantool_major_version < 3,
reason="skip centralized config test for Tarantool < 3",
)
def test_vshard_bootstrap_enought_timeout(tt_cmd, vshard_cconfig_app_timeout_tt_env):
tmpdir = vshard_cconfig_app_timeout_tt_env
Expand All @@ -317,7 +319,7 @@ def test_vshard_bootstrap_enought_timeout(tt_cmd, vshard_cconfig_app_timeout_tt_
rc, out = run_command_and_get_output(cmd_sleep, cwd=tmpdir)
assert rc == 0

cmd = [tt_cmd, "rs", "vs", "bootstrap", "--timeout", "5"]
cmd = [tt_cmd, "rs", "vs", "bootstrap", "--timeout", "10"]
cmd.append("--config")
cmd.append(vshard_cconfig_app_name_timeout)

Expand All @@ -330,7 +332,8 @@ def test_vshard_bootstrap_enought_timeout(tt_cmd, vshard_cconfig_app_timeout_tt_


@pytest.mark.skipif(
tarantool_major_version < 3, reason="skip centralized config test for Tarantool < 3",
tarantool_major_version < 3,
reason="skip centralized config test for Tarantool < 3",
)
def test_vshard_bootstrap_not_enought_timeout(tt_cmd, vshard_cconfig_app_timeout_tt_env):
tmpdir = vshard_cconfig_app_timeout_tt_env
Expand Down
Loading
0