Skip to content

Conversation

@AndriySvyryd
Copy link
Member

No description provided.

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

Copilot AI left a comment

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.

3 participants