Skip to content
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

Fix flaky tests #4052

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Fix flaky tests #4052

merged 1 commit into from
Aug 6, 2024

Conversation

Systemcluster
Copy link
Contributor

@Systemcluster Systemcluster commented Aug 6, 2024

I don't know much about hyper but searching for the "error shutting down connection" error message in its code led me to attempt the graceful_shutdown addition, and I haven't had an example run fail since.

@Systemcluster Systemcluster marked this pull request as ready for review August 6, 2024 09:04
Copy link
Collaborator

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, thanks for looking into it, that's really helpful!

crates/js-sys/src/lib.rs Outdated Show resolved Hide resolved
@daxpedda daxpedda merged commit 33ea44f into rustwasm:main Aug 6, 2024
54 checks passed
@Systemcluster Systemcluster deleted the fix-flaky-test branch August 6, 2024 12:23
@Systemcluster
Copy link
Contributor Author

It looks like this wasn't 100% successful, I'm still getting test failures, albeit much less. I don't know enough about hyper and tokio to investigate this further, but maybe this can serve as a start.

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.

2 participants