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

increase timeout on flush to fix failing unit test #1096

Merged
merged 1 commit into from
Nov 28, 2019

Conversation

uhoreg
Copy link
Member

@uhoreg uhoreg commented Nov 28, 2019

It took more than 0.1 seconds between when bob.httpBackend.flush is called and when the request is actually made, so flush stops trying to respond to the message, which means that when it does finally make the request, it never gets a response. Increasing the timeout on flush makes it keep trying for longer.

Also the requests to /keys/query are apparently never made, so remove them.

fixes: element-hq/element-web#11545

@uhoreg uhoreg merged commit 92ca238 into matrix-org:develop Nov 28, 2019
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.

SAS cross-signing js-sdk test is broken
2 participants