feat: change timeout
This commit is contained in:
parent
9482f11046
commit
9348b587a9
@ -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'));
|
||||
}
|
||||
|
@ -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 }
|
||||
);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user