From 0a4e2c03a37d9b055b3d881e0babb7c0f3729aea Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Tue, 30 Apr 2019 09:59:28 -0400 Subject: [PATCH] Extend timeouts on slow async mapillary tests Trying to avoid false test failures. Default timeout is 2sec, and we can't be sure slow async tests will finish in that time esp. in a CI environment --- test/spec/services/mapillary.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/spec/services/mapillary.js b/test/spec/services/mapillary.js index 03d741d83..c74705e19 100644 --- a/test/spec/services/mapillary.js +++ b/test/spec/services/mapillary.js @@ -100,6 +100,7 @@ describe('iD.serviceMapillary', function() { }); it('loads multiple pages of image results', function(done) { + this.timeout(10000); var calls = 0; mapillary.on('loadedImages', function() { server.respond(); // respond to new fetches @@ -193,6 +194,7 @@ describe('iD.serviceMapillary', function() { }); it('loads multiple pages of signs results', function(done) { + this.timeout(10000); var calls = 0; mapillary.on('loadedSigns', function() { server.respond(); // respond to new fetches