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

Correct public_baseurl for nightly tests. #5949

Merged
merged 3 commits into from
May 9, 2022

Conversation

michaelkaye
Copy link
Contributor

@michaelkaye michaelkaye commented May 5, 2022

The tests seem to function against a synapse with an incorrect public_baseurl - some parts of the client use the public_baseurl for information and timeout, others use the configured http endpoint (which is hardcoded in the tests to be correct).

Making this change reduces timeouts waiting for requests to these incorrect endpoints.

@github-actions
Copy link

github-actions bot commented May 5, 2022

Unit Test Results

122 files  ±0  122 suites  ±0   2m 6s ⏱️ -1s
205 tests ±0  205 ✔️ ±0  0 💤 ±0  0 ±0 
690 runs  ±0  690 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit fb19d6b. ± Comparison against base commit c9bd1f3.

@michaelkaye
Copy link
Contributor Author

So the change in fb19d6b seems to have been powerful in itself; the baseurl was wrong for a number of the tests (compared to running locally).

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

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

LGTM so far (the PR is still a draft)

@michaelkaye michaelkaye changed the title Nightly builds should inform why they're failing. Correct public_baseurl for nightly tests. May 6, 2022
@michaelkaye michaelkaye marked this pull request as ready for review May 6, 2022 07:10
@michaelkaye michaelkaye requested a review from bmarty May 6, 2022 07:10
@michaelkaye
Copy link
Contributor Author

We may as well merge this as-is.

@ouchadam
Copy link
Contributor

ouchadam commented May 9, 2022

I have this change locally as it's needed for the sanity tests to login in after creating an account

@michaelkaye michaelkaye merged commit 924f732 into develop May 9, 2022
@michaelkaye michaelkaye deleted the michaelk/nightly_should_say_why branch May 9, 2022 08:59
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.

3 participants