test: give more time
This commit is contained in:
parent
a2cd9180b5
commit
a90cbcee9e
|
@ -503,7 +503,7 @@ export class Connection {
|
|||
};
|
||||
break;
|
||||
}
|
||||
if (attempts === 16) {
|
||||
if (attempts === 50) {
|
||||
throw new Error(
|
||||
`Unable to obtain a new blockhash after ${Date.now() -
|
||||
startTime}ms`,
|
||||
|
|
|
@ -567,7 +567,7 @@ test('program account change notification', async () => {
|
|||
break;
|
||||
}
|
||||
|
||||
if (++i === 5) {
|
||||
if (++i === 20) {
|
||||
console.log(JSON.stringify(mockCallback.mock.calls));
|
||||
throw new Error('mockCallback should be called twice');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue