Increase timeout on TimelinePanel test

Since it looks like this timeout sometimes isn't sufficient to scroll all the way up when jenkins is very busy
This commit is contained in:
David Baker 2016-06-23 18:36:44 +01:00
parent b01b786dfc
commit 1c280badde

View file

@ -210,7 +210,7 @@ describe('TimelinePanel', function() {
var N_EVENTS = 600; var N_EVENTS = 600;
// sadly, loading all those events takes a while // sadly, loading all those events takes a while
this.timeout(N_EVENTS * 20); this.timeout(N_EVENTS * 40);
// client.getRoom is called a /lot/ in this test, so replace // client.getRoom is called a /lot/ in this test, so replace
// sinon's spy with a fast noop. // sinon's spy with a fast noop.