Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: use postgres for tests instead of dbmem #87

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

Merged

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Sep 6, 2024

Our provider acceptance tests caught a very minor bug in dbmem, causing all CI to fail against the latest Coder image.
Since nobody runs Coder using dbmem, It'd be better to test that the provider runs against the DB that people actually use.

Running the acceptance tests on my dogfood workspace took ~140 seconds, up from ~80 using dbmem - but I think it's a fine tradeoff, and also means we don't need to modify our test suite to workaround the bug.

Treating this as a hotfix and merging.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ethanndickson and the rest of your teammates on Graphite Graphite

@ethanndickson ethanndickson self-assigned this Sep 6, 2024
@ethanndickson ethanndickson marked this pull request as ready for review September 6, 2024 04:58
@ethanndickson ethanndickson changed the title chore: use postgres for tests instead of dbmem fix: use postgres for tests instead of dbmem Sep 6, 2024
@ethanndickson ethanndickson merged commit 913c3ed into main Sep 6, 2024
14 checks passed
@ethanndickson ethanndickson deleted the 09-06-chore_use_postgres_for_tests_instead_of_dbmem branch September 6, 2024 04:59
@matifali

This comment was marked as off-topic.

@ethanndickson

This comment was marked as off-topic.

@ethanndickson

This comment was marked as off-topic.

@matifali
Copy link
Member

matifali commented Sep 6, 2024

Sorry I got confused with coder/terraform-provider-coder. All good here 😄

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