test: give more time

This commit is contained in:
Michael Vines 2019-04-23 18:03:31 -07:00
parent a2cd9180b5
commit a90cbcee9e
2 changed files with 2 additions and 2 deletions

View File

@ -503,7 +503,7 @@ export class Connection {
}; };
break; break;
} }
if (attempts === 16) { if (attempts === 50) {
throw new Error( throw new Error(
`Unable to obtain a new blockhash after ${Date.now() - `Unable to obtain a new blockhash after ${Date.now() -
startTime}ms`, startTime}ms`,

View File

@ -567,7 +567,7 @@ test('program account change notification', async () => {
break; break;
} }
if (++i === 5) { if (++i === 20) {
console.log(JSON.stringify(mockCallback.mock.calls)); console.log(JSON.stringify(mockCallback.mock.calls));
throw new Error('mockCallback should be called twice'); throw new Error('mockCallback should be called twice');
} }