Skip to content

Use controlled time for remote initialization timeout test#29329

Merged
jif-oai merged 1 commit into
mainfrom
jif/control-remote-init-timeout-test
Jun 21, 2026
Merged

Use controlled time for remote initialization timeout test#29329
jif-oai merged 1 commit into
mainfrom
jif/control-remote-init-timeout-test

Conversation

@jif-oai

@jif-oai jif-oai commented Jun 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

The remote-control initialization timeout test used a 50 ms wall-clock deadline around a 10 ms transport timeout. A busy CI runner could miss that outer deadline even when the rollback behavior was correct.

Pause Tokio time and advance it explicitly through the transport timeout instead. The test still verifies that initialization fails and emits the matching connection-closed event, without depending on scheduler speed.

@jif-oai jif-oai merged commit 6f5dd7b into main Jun 21, 2026
31 checks passed
@jif-oai jif-oai deleted the jif/control-remote-init-timeout-test branch June 21, 2026 12:53
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant