-
Notifications
You must be signed in to change notification settings - Fork 754
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
revive: Bump connect timeout to fix flaky tests #6567
Conversation
@@ -32,9 +32,9 @@ use static_init::dynamic; | |||
use std::thread; | |||
use substrate_cli_test_utils::*; | |||
|
|||
/// Create a websocket client with a 30s timeout. | |||
/// Create a websocket client with a 120s timeout. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the node takes more than 30s to serve the rpc endpoint? I thought the issue was with the overall test taking more than 30s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope. It was failing here. Nextest allots 2x60s before it kills you. Kitchensink in debug mode has a long startup time and this is where the time is spent AFAIK.
The eth RPC tests fail sometimes because they run into a connect timeout because the node takes a long time to start. This bumps the connect timeout from 30 to 120 seconds. Locally they take around 40s for me. As a drive by I also remove a apparently duplicated nextest config. --------- Co-authored-by: ordian <[email protected]>
The eth RPC tests fail sometimes because they run into a connect timeout because the node takes a long time to start. This bumps the connect timeout from 30 to 120 seconds. Locally they take around 40s for me. As a drive by I also remove a apparently duplicated nextest config. --------- Co-authored-by: ordian <[email protected]>
The eth RPC tests fail sometimes because they run into a connect timeout because the node takes a long time to start. This bumps the connect timeout from 30 to 120 seconds. Locally they take around 40s for me.
As a drive by I also remove a apparently duplicated nextest config.