Merge pull request #938 from realm/ajl-fix-tests

Bump up test timeout
This commit is contained in:
Adam Lebsack 2017-03-24 13:36:16 +01:00 committed by GitHub
commit 5ce8afa559
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ module.exports = {
TestCase.assertEqual(session.config.error, config.sync.error);
session._simulateError(123, 'simulated error');
return wait(1000).then(() => {
return wait(2000).then(() => {
TestCase.assertArrayLength(errors, 1);
TestCase.assertEqual(errors[0][0].config.url, session.config.url);
TestCase.assertEqual(errors[0][1].message, 'simulated error');