Skip to content

fix(test): allow peer discovery beyond the sync interval - #1513

Merged
kvinwang merged 1 commit into
nextfrom
fix/cluster-peer-discovery-timeout
Nov 2, 2026
Merged

kvinwang merged 1 commit into
nextfrom
fix/cluster-peer-discovery-timeout

Conversation

@kvinwang

@kvinwang kvinwang commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Three cluster tests wait only 4–5 seconds for initial peer discovery, although the suite configures a 5-second periodic sync interval. On PR #1512, test_push_periodic_overlap failed twice; the rerun also failed the initial discovery checks in test_network_partition and test_node_status_register_exclude.

Give those three setup checks 15 seconds, allowing the periodic sync to run. Keep the subsequent write propagation, network-partition recovery, and registration assertions unchanged, including the separate fast-push timing checks.

Validation: shellcheck/prek and git diff --check pass. The full cluster suite will validate the fix in CI. This is separate from the image reproducibility changes in #1512.

Signed-off-by: Kevin Wang <wy721@qq.com>
@kvinwang
kvinwang merged commit bbdc3f8 into next Nov 2, 2026
15 checks passed
@kvinwang
kvinwang deleted the fix/cluster-peer-discovery-timeout branch November 2, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant