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

qe: use one db per test on cockroachdb #3597

Closed
wants to merge 13 commits into from

Conversation

tomhoule
Copy link
Contributor

And move to GH actions.

See individual commits for details.

@tomhoule tomhoule added this to the 4.9.0 milestone Jan 13, 2023
@tomhoule tomhoule force-pushed the qe-cockroach-database-per-test branch from f6413a8 to 32ee6b9 Compare January 13, 2023 11:30
@tomhoule tomhoule force-pushed the qe-cockroach-database-per-test branch from 821b7e7 to 3d37b56 Compare January 13, 2023 12:25
@@ -30,6 +30,7 @@ mod metrics {
Sqlite => assert_eq!(total_queries, 9),
SqlServer(_) => assert_eq!(total_queries, 15),
MongoDb(_) => assert_eq!(total_queries, 5),
ConnectorVersion::CockroachDb => assert_eq!(total_queries, 10),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I haven't dug to the bottom of this, but it would make sense for it to be from DROP DATABASE + CREATE DATABASE on test initialization becoming 1 query (instead of 2).

@@ -10,6 +10,7 @@ on:
- 'LICENSE'
- 'CODEOWNERS'
- 'renovate.json'
- 'introspection-engine/**'
Copy link
Member

Choose a reason for hiding this comment

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

That is an interesting addition - avoiding running the QE tests on IE only changes I assume?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, not reflected but it seems like a small win.

@tomhoule
Copy link
Contributor Author

/shrug

@tomhoule tomhoule closed this Jan 20, 2023
@janpio janpio deleted the qe-cockroach-database-per-test branch November 15, 2023 19:29
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.

None yet

2 participants