diff --git a/test/e2e/app-dir/next-after-app-deploy/app/timestamp/revalidate.js b/test/e2e/app-dir/next-after-app-deploy/app/timestamp/revalidate.js index b7142562cf4d5..e83c98bf560c4 100644 --- a/test/e2e/app-dir/next-after-app-deploy/app/timestamp/revalidate.js +++ b/test/e2e/app-dir/next-after-app-deploy/app/timestamp/revalidate.js @@ -13,7 +13,7 @@ export async function revalidateTimestampPage(/** @type {string} */ key) { revalidatePath(path) } -const WAIT_BEFORE_REVALIDATING_DEFAULT = 5000 +const WAIT_BEFORE_REVALIDATING_DEFAULT = 1000 function getSleepDuration() { const raw = process.env.WAIT_BEFORE_REVALIDATING diff --git a/test/e2e/app-dir/next-after-app-deploy/index.test.ts b/test/e2e/app-dir/next-after-app-deploy/index.test.ts index c480d393b1a36..08ea9893a01a6 100644 --- a/test/e2e/app-dir/next-after-app-deploy/index.test.ts +++ b/test/e2e/app-dir/next-after-app-deploy/index.test.ts @@ -1,10 +1,10 @@ /* eslint-env jest */ -import { nextTestSetup, isNextDev, isNextDeploy } from 'e2e-utils' +import { nextTestSetup, isNextDev } from 'e2e-utils' import { retry } from 'next-test-utils' const runtimes = ['nodejs', 'edge'] -const WAIT_BEFORE_REVALIDATING = isNextDeploy ? 10_000 : 5_000 +const WAIT_BEFORE_REVALIDATING = 1000 // If we want to verify that `unstable_after()` ran its callback, // we need it to perform some kind of side effect (because it can't affect the response).