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 TestExpiredBuildBlock #2655

Merged
merged 4 commits into from
Jan 24, 2024
Merged

Conversation

StephenButtolph
Copy link
Contributor

@StephenButtolph StephenButtolph commented Jan 23, 2024

Why this should be merged

Resolves #2500

This test is flaky: https://github.com/ava-labs/avalanchego/actions/runs/7632544803/job/20792975367?pr=2638

This test likely started flaking when we adding the MaxBuildDelay. There is a race condition where we may end up blocking for the max build delay... Which causes the test to timeout.

How this works

Makes sure that SetPreference can not cause <-toEngine to block.

How this was tested

  • CI

@StephenButtolph StephenButtolph added the testing This primarily focuses on testing label Jan 23, 2024
@StephenButtolph StephenButtolph added this to the v1.10.19 milestone Jan 23, 2024
@StephenButtolph StephenButtolph self-assigned this Jan 23, 2024
@StephenButtolph StephenButtolph added the bug Something isn't working label Jan 23, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Jan 23, 2024
Merged via the queue into master with commit c0bc9f5 Jan 24, 2024
17 checks passed
@StephenButtolph StephenButtolph deleted the fix-expired-build-block-test branch January 24, 2024 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing This primarily focuses on testing
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

vms/proposervm: TestExpiredBuildBlock flake
3 participants