Skip to content

Commit a28af8b

Browse files
committed
Extend timeouts in joining tests again
this seems to work? maybe?
1 parent 43f5648 commit a28af8b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎test/app-tests/joining.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ describe('joining a room', function () {
119119
httpBackend.when('POST', '/publicRooms').respond(200, {chunk: []});
120120
httpBackend.when('GET', '/thirdparty/protocols').respond(200, {});
121121
return q.all([
122-
httpBackend.flush('/publicRooms'),
123122
httpBackend.flush('/thirdparty/protocols'),
123+
httpBackend.flush('/publicRooms'),
124124
]);
125125
}).then(() => {
126126
var roomDir = ReactTestUtils.findRenderedComponentWithType(

‎test/mock-request.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ HttpBackend.prototype = {
3737
* @param {string} path The path to flush (optional) default: all.
3838
* @param {integer} numToFlush The number of things to flush (optional), default: all.
3939
* @param {integer=} waitTime The time (in ms) to wait for a request to happen.
40-
* default: 5
40+
* default: 100
4141
*
4242
* @return {Promise} resolves when there is nothing left to flush, with the
4343
* number of requests flushed
@@ -47,7 +47,7 @@ HttpBackend.prototype = {
4747
const self = this;
4848
let flushed = 0;
4949
if (waitTime === undefined) {
50-
waitTime = 10;
50+
waitTime = 100;
5151
}
5252

5353
function log(msg) {

0 commit comments

Comments
 (0)