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

op-challenger: Unsubscribe from l1 heads on shutdown #7859

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

ajsutton
Copy link
Contributor

Description

Avoids leaving a background function running that could trigger logging. This was causing flaky tests.

Also bumped up the wait timeout for the subscription to be initiated because 100ms is way too short. It will only wait that long if the subscription isn't made and the test will then fail so no harm in having it be longer.

Avoids leaving a background function running that could trigger logging.
@ajsutton ajsutton requested a review from a team as a code owner October 26, 2023 00:18
@ajsutton ajsutton requested a review from refcell October 26, 2023 00:18
@ajsutton
Copy link
Contributor Author

Confirmed this fixes the issue by running monitor_test Resubscribes on error - without this change it logs a context cancelled error and with this change it never does (even if I add a test to give the test plenty of time before it exits the process).

@ajsutton ajsutton added this pull request to the merge queue Oct 26, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 26, 2023
@ajsutton ajsutton added this pull request to the merge queue Oct 26, 2023
Merged via the queue into develop with commit c46093b Oct 26, 2023
4 checks passed
@ajsutton ajsutton deleted the aj/monitor-unsubscribe branch October 26, 2023 04:35
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