Deflake the joining test

Just give the client longer to get started (it seems to be taking a long time
to get started talking to indexeddb)
This commit is contained in:
Richard van der Hoff 2017-07-14 16:14:42 +01:00
parent 0c31c62a62
commit 66ddf25977
2 changed files with 4 additions and 2 deletions

View file

@ -103,7 +103,9 @@ describe('joining a room', function () {
httpBackend.when('GET', '/sync')
.respond(200, {});
return httpBackend.flushAllExpected().then(() => {
return httpBackend.flushAllExpected({
timeout: 1000,
}).then(() => {
// wait for the directory requests
httpBackend.when('POST', '/publicRooms').respond(200, {chunk: []});
httpBackend.when('GET', '/thirdparty/protocols').respond(200, {});