Skip to content

Commit

Permalink
fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Sep 8, 2023
1 parent 4e8bc87 commit 9c488ae
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions yarn-project/end-to-end/src/cli_docs_sandbox.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,18 @@ describe('CLI docs sandbox', () => {
const aztecRpc = createAztecRpcClient(SANDBOX_URL, makeFetch([1, 2, 3], true));
await waitForSandbox(aztecRpc);

// Requesting node info with the fetch which retries to ensure sandbox is ready
await aztecRpc.getNodeInfo();

log = (...args: any[]) => {
logs.push(format(...args));
debug(...args);
};

// Requesting block number here with CLI to ensure sandbox is ready
resetCli();
try {
await run('block-number', false);
} catch (e) {
// Failure is expected during first run in CI
}
}, 60_000);

// in order to run the same command twice, we need to create a new CLI instance
Expand Down

0 comments on commit 9c488ae

Please sign in to comment.