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

Allow PCT testing with database-sqlite #610

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Conversation

basil
Copy link
Member

@basil basil commented Mar 26, 2024

Discovered in jenkinsci/bom#3057 when trying to add database-sqlite to BOM. Both SQLite and H2 database plugins attempt to set themselves as the default, and when SQLite wins then this test fails. Fixed by changing the test to not make any assumptions about the default and instead explicitly set the database to the one the test expects.

Testing done

Tested in context in PCT. Passes after this PR.

@basil basil requested a review from a team as a code owner March 26, 2024 15:51
Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

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

if it works 🤷

@timja timja enabled auto-merge (squash) March 26, 2024 15:53
@timja timja merged commit 65b14fa into jenkinsci:master Mar 26, 2024
14 checks passed
@basil basil deleted the sqlite branch March 26, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants