feat: change timeout

This commit is contained in:
Dariusz Majcherczyk 2024-02-21 23:07:15 +01:00
parent 9482f11046
commit 9348b587a9
No known key found for this signature in database
GPG Key ID: C42DFD2F046CA415
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ function waitForStake(vegaPublicKey: string) {
let tick = 1;
const interval = setInterval(async () => {
log(`confirming stake (attempt: ${tick})`);
if (tick >= 30) {
if (tick >= 90) {
clearInterval(interval);
reject(new Error('stake link never seen'));
}

View File

@ -111,7 +111,7 @@ export const addValidatorsSelfDelegate = () => {
String(node0ApiToken),
String(node0Id)
),
{ timeout: 60000 }
{ timeout: 90000 }
);
// Self delegating Node 1 wallet
cy.get('@node1PubKey').then((node1PubKey) => {
@ -124,7 +124,7 @@ export const addValidatorsSelfDelegate = () => {
String(node1ApiToken),
String(node1Id)
),
{ timeout: 60000 }
{ timeout: 90000 }
);
});
});