Skip to content

Commit 10f6547

Browse files
authored
Raise test and sync timeout to 6 minutes (#109)
1 parent d8db282 commit 10f6547

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

spec/helpers.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 360000; // 6 minutes
2+
13
function errorHandler(err) {
24
expect(err.status).toBe(true);
35
expect(err.data).toBe(true);
@@ -27,4 +29,4 @@ function pollStatus(fn) {
2729
module.exports = {
2830
errorHandler,
2931
pollStatus
30-
};
32+
};

src/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const MAX_BATCH_SIZE = 128;
22
const GEO_LIMIT_TYPES = ['withinMiles', 'withinKilometers', 'withinRadians', 'withinDegrees'];
3-
const SYNC_TIMEOUT = 240000;
3+
const SYNC_TIMEOUT = 360000; // 6 minutes
44
const MODEL_QUEUED_FOR_TRAINING = '21103';
55
const MODEL_TRAINING = '21101';
66
const POLLTIME = 2000;

0 commit comments

Comments
 (0)