Skip to content

Commit

Permalink
[ECO-2311] Increase the max wait time for the frontend container bein…
Browse files Browse the repository at this point in the history
…g healthy and for the playwright setup timeout (#306)
  • Loading branch information
xbtmatt authored Oct 18, 2024
1 parent 7ad06e9 commit 6f51751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/typescript/frontend/tests/e2e/global.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { DockerTestHarness } from "../../../sdk/src/utils/test/docker/docker-tes

setup("setup the Docker containers", async ({}) => {
// Five minute timeout.
setup.setTimeout(300_000);
setup.setTimeout(600_000);
const startDockerServices = process.env.APTOS_NETWORK === "local";
if (startDockerServices) {
await DockerTestHarness.run(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const LOCAL_ENV_PATH = path.join(getGitRoot(), "src/docker", "example.local.env"
const PRUNE_SCRIPT = path.join(getGitRoot(), "src/docker/utils", "prune.sh");

const PING_STATE_INTERVAL = 200;
const MAX_WAIT_TIME_SECONDS = 300;
const MAX_WAIT_TIME_SECONDS = 600;
const TMP_PID_FILE_PATH = path.join(os.tmpdir(), "emojicoin-e2e-process-id");

async function isPrimaryContainerReady(name: ContainerName): Promise<boolean> {
Expand Down

0 comments on commit 6f51751

Please sign in to comment.