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

test-fix(offline): Only run "applies stashed ops with no saved ops" test against local server #23383

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

markfields
Copy link
Member

@markfields markfields commented Dec 20, 2024

Description

Fixes AB#18451

This test is covering sequence number gymnastics when loading from serialized pending state and applying stashed ops. Server summary/op implementations and potential race conditions are not interesting, and only make the test run slow (4s on average for waitForSummary) if not time out (the cause of the bug this fixes).

So, only run against local server.

This also brings back the assert removed in #22712, but ensuring that we load from the summary (and don't end up with the original snapshot), which ensures we actually get coverage of the code this is supposed to test (see original PR adding the test, #17375)

@Copilot Copilot bot review requested due to automatic review settings December 20, 2024 01:16

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@github-actions github-actions bot added area: tests Tests to add, test infrastructure improvements, etc base: main PRs targeted against main branch labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tests Tests to add, test infrastructure improvements, etc base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant