Skip to content

Commit

Permalink
chore: fixup testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Feb 27, 2024
1 parent 7fba8cf commit 5099be0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
require: 'tooling/babel-register.js',
recursive: true,
extension: '.js,.ts',
timeout: process.env.NETWORK ? '400s' : '40s',
timeout: process.env.NETWORK ? '500s' : '40s',
ignore: 'test/environment/**',
exit: true // TODO: fix in state channel tests
}
2 changes: 1 addition & 1 deletion test/integration/MiddlewareSubscriber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('MiddlewareSubscriber', () => {
ms.webSocket.addEventListener('message', resolve);
});
})(),
pause(2000).then(() => { throw new Error('Timeout'); }),
pause(4000).then(() => { throw new Error('Timeout'); }),
]);
}

Expand Down
2 changes: 1 addition & 1 deletion test/integration/oracle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('Oracle', () => {
.then(() => oracle.postQuery('{"city": "Berlin4"}'));
});

const timeout = networkId === 'ae_devnet' ? 8000 : 600000;
const timeout = networkId === 'ae_devnet' ? 8000 : 700000;
it('Poll for response for query without response', async () => {
const query = await oracle.postQuery('{"city": "Berlin"}', { queryTtlValue: 1 });
await query.pollForResponse()
Expand Down

0 comments on commit 5099be0

Please sign in to comment.