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

Skip flaky SqliteCommandTest tests #35578

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Skip flaky SqliteCommandTest tests #35578

merged 1 commit into from
Feb 5, 2025

Conversation

AndriySvyryd
Copy link
Member

No description provided.

@AndriySvyryd AndriySvyryd requested review from cincuranet, a team and Copilot February 4, 2025 00:44

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.

@AndriySvyryd AndriySvyryd enabled auto-merge (rebase) February 4, 2025 00:46
});

private static void AssertBusy(int rc)
=> Assert.True(rc is SQLITE_LOCKED or SQLITE_BUSY or SQLITE_LOCKED_SHAREDCACHE or SQLITE_ERROR);
Copy link
Contributor

Choose a reason for hiding this comment

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

The new assert with i.e. SQLITE_ERROR changes the meaning. Shouldn't the test fail if we get SQLITE_ERROR instead of SQLITE_BUSY? It means something else failed, not the expected busy-ness, isn't it?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's the error it throws occasionally on CI. Would you prefer to disable these tests and investigate the root cause later?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes.

@AndriySvyryd AndriySvyryd changed the title Make SqliteCommandTest more robust Skip flaky SqliteCommandTest tests Feb 4, 2025
@AndriySvyryd AndriySvyryd merged commit 0ac83b8 into main Feb 5, 2025
7 checks passed
@AndriySvyryd AndriySvyryd deleted the SqliteTests branch February 5, 2025 08:44
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