Skip to content

E2E tests -- use appropriate timeouts #1851

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 2 commits into from
Aug 14, 2023
Merged

E2E tests -- use appropriate timeouts #1851

merged 2 commits into from
Aug 14, 2023

Conversation

danlaine
Copy link

Why this should be merged

Saw a flake in an E2E test. It seems like we're using the wallet creation timeout in some places we should be using the tx acceptance timeout.

How this works

Use tx acceptance timeout instead of wallet creation timeout as needed

How this was tested

N/A

@danlaine danlaine added the ci This focuses on changes to the CI process label Aug 14, 2023
@danlaine danlaine requested a review from marun August 14, 2023 14:25
@danlaine danlaine self-assigned this Aug 14, 2023
@danlaine danlaine requested review from abi87 and gyuho as code owners August 14, 2023 14:25
@marun
Copy link
Contributor

marun commented Aug 14, 2023

As per a slack conversation with @StephenButtolph, we probably want to switch to a long general-purpose timeout rather than shorter operation-specific timeouts. Yes, it can slow down discovery of actual failure, but it avoids having to update timeouts in response to changes in expected timing (in this case enabling the race detector).

e.g. #1709 switches the permissionless subnet testing to use e2e.DefaultTImeout which is 2m.

@danlaine danlaine merged commit 94dc289 into dev Aug 14, 2023
@danlaine danlaine deleted the bump-e2e-timeout branch August 14, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci This focuses on changes to the CI process
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants