jenkinsci / junit-realtime-test-reporter-plugin

Report JUnit test results in real time
https://plugins.jenkins.io/junit-realtime-test-reporter/
MIT License
6 stars 13 forks source link

Allow PCT testing with `database-sqlite` #153

Closed basil closed 7 months ago

basil commented 7 months ago

Discovered in https://github.com/jenkinsci/bom/pull/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.