Merge pull request #524 from tuxcanfly/fix-circleci-tests

test: increase timeout for ci
This commit is contained in:
Javed Khan 2018-07-10 17:01:02 +05:30 committed by GitHub
commit 2eb42d66d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,7 @@ chain.on('disconnect', (entry, block) => {
});
describe('Chain', function() {
this.timeout(45000);
this.timeout(60000);
it('should open chain and miner', async () => {
await chain.open();

View File

@ -103,6 +103,7 @@ describe('Node', function() {
});
it('should mine competing chains', async () => {
this.timeout(20000);
for (let i = 0; i < 10; i++) {
const block1 = await mineBlock(tip1, cb1);
cb1 = block1.txs[0];