Skip to content

Commit 50c6330

Browse files
authored
Increase test timeout (#321)
* added label and confidence as output * updates yolo test to use label instead of className * set jasmine.DEFAULT_TIMEOUT_INTERVAL to 60000ms
1 parent d11d1a3 commit 50c6330

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CharRNN/index_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('charRnn', () => {
2929
let rnn;
3030

3131
beforeAll(async () => {
32-
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000; //set extra long interval due to issues with CharRNN generation time
32+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60000; //set extra long interval due to issues with CharRNN generation time
3333
rnn = await charRNN(RNN_MODEL_URL, undefined);
3434
});
3535

src/Word2vec/index_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe('word2vec', () => {
1313
let numTensorsBeforeAll;
1414
let numTensorsBeforeEach;
1515
beforeAll((done) => {
16-
jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000;
16+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60000;
1717
numTensorsBeforeAll = tf.memory().numTensors;
1818
word2vecInstance = word2vec(W2V_MODEL_URL, done);
1919
});

0 commit comments

Comments
 (0)