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

Return a dummy /versions response in tests #316

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

DMRobertson
Copy link
Contributor

@DMRobertson DMRobertson commented Sep 28, 2023

Otherwise every integration test logs a warning that isn't useful, since #286:

=== RUN   TestBackfillInviteDoesntCorruptState
Note: tests require a postgres install accessible to the current user
createdb: error: database creation failed: ERROR:  database "syncv3_test" already exists
12:29:34 WRN Could not contact upstream homeserver. Is SYNCV3_SERVER set correctly? error="/versions returned HTTP 404" dest=http://127.0.0.1:45461

Otherwise every integration test logs a warning that isn't useful.
@DMRobertson DMRobertson merged commit 0d59f01 into main Sep 28, 2023
6 of 7 checks passed
@DMRobertson DMRobertson deleted the dmr/versions-response-in-tests branch September 28, 2023 11:49
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