-
Notifications
You must be signed in to change notification settings - Fork 275
fix(tests): Re-enable MQTT and Postgres tests #3163
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,5 @@ component = "test" | |
|
||
[component.test] | ||
source = "%{source=outbound-postgres}" | ||
allowed_outbound_hosts = ["postgres://{{ pg_host }}:%{port=5432}"] | ||
environment = { DB_URL = "postgres://postgres:postgres@localhost:%{port=5432}/spin_dev" } | ||
allowed_outbound_hosts = ["postgres://{{ pg_host }}:5432"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are the changes away from placeholder ports needed? I believe we did this so that test instances could be brought up on ports determined at runtime, and it would be good to keep it. If it's not working, it would be good to understand why. (But if that's involved in the flakiness, we can probably punt on it for now.) cc @rylev for thoughts and insight |
||
environment = { DB_URL = "postgres://postgres:postgres@localhost:5432/spin_dev" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I thought we were dockerising the Postgres instance, but maybe that's been part of the problem. Again, I'd like to get Ryan's input on making it part of the CI image instead (I'm not for or against it, I just want to hear from someone who knows this bit of the system better than I do!).