Skip to content

Commit

Permalink
Increase delay in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley committed Feb 28, 2024
1 parent 0c2cc14 commit b6140ba
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions wormchain/contracts/tools/__tests__/test_ntt_accountant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1049,8 +1049,8 @@ describe("Global Accountant Tests", () => {
receipt,
CONTRACTS.DEVNET.bsc.core
);
console.log("waiting 10s to fetch metrics...");
await sleep(10 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
console.log("waiting 30s to fetch metrics...");
await sleep(30 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
const afterMetrics = await fetchGlobalAccountantMetrics();
console.log(
"balance errors b/a:",
Expand Down Expand Up @@ -1249,8 +1249,8 @@ describe("Global Accountant Tests", () => {
receipt,
CONTRACTS.DEVNET.ethereum.core
);
console.log("waiting 10s to fetch metrics...");
await sleep(10 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
console.log("waiting 30s to fetch metrics...");
await sleep(30 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
const afterMetrics = await fetchGlobalAccountantMetrics();
console.log(
"errors b/a:",
Expand Down Expand Up @@ -1301,8 +1301,8 @@ describe("Global Accountant Tests", () => {
receipt,
CONTRACTS.DEVNET.ethereum.core
);
console.log("waiting 10s to fetch metrics...");
await sleep(10 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
console.log("waiting 30s to fetch metrics...");
await sleep(30 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
const afterMetrics = await fetchGlobalAccountantMetrics();
console.log(
"errors b/a:",
Expand Down Expand Up @@ -1353,8 +1353,8 @@ describe("Global Accountant Tests", () => {
receipt,
CONTRACTS.DEVNET.bsc.core
);
console.log("waiting 10s to fetch metrics...");
await sleep(10 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
console.log("waiting 30s to fetch metrics...");
await sleep(30 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
const afterMetrics = await fetchGlobalAccountantMetrics();
console.log(
"errors b/a:",
Expand Down Expand Up @@ -1395,8 +1395,8 @@ describe("Global Accountant Tests", () => {
receipt,
CONTRACTS.DEVNET.ethereum.core
);
console.log("waiting 10s to fetch metrics...");
await sleep(10 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
console.log("waiting 30s to fetch metrics...");
await sleep(30 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
const afterMetrics = await fetchGlobalAccountantMetrics();
console.log(
"errors b/a:",
Expand Down Expand Up @@ -1438,8 +1438,8 @@ describe("Global Accountant Tests", () => {
receipt,
CONTRACTS.DEVNET.bsc.core
);
console.log("waiting 10s to fetch metrics...");
await sleep(10 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
console.log("waiting 30s to fetch metrics...");
await sleep(30 * 1000); // give the guardian a few seconds to pick up the transfers and attempt to submit them
const afterMetrics = await fetchGlobalAccountantMetrics();
console.log(
"balance errors b/a:",
Expand Down

0 comments on commit b6140ba

Please sign in to comment.