Unverified Commit a32ddfdf authored by Benjamin Woodruff ‮'s avatar Benjamin Woodruff Committed by GitHub

Revert "[ci] Increase deploy test concurrency to 8" (#99840)

Reverts vercel/next.js#99770

We're seeing a lot of deployment test failures due to rate limits. We
can try bumping the rate limits and trying again, but reverting for
right now to unblock deployment tests.
parent c692e952
......@@ -198,7 +198,7 @@ jobs:
NEXT_TEST_DEPLOY_SCRIPT_PATH="${{ github.event.inputs.deployScriptPath || '' }}" \
NEXT_TEST_DEPLOY_LOGS_SCRIPT_PATH="${{ github.event.inputs.deployLogsScriptPath || '' }}" \
NEXT_TEST_CLEANUP_SCRIPT_PATH="${{ github.event.inputs.cleanupScriptPath || '' }}" \
node run-tests.js --timings --require-timings -g ${{ matrix.group }} -c 8 --type e2e
node run-tests.js --timings --require-timings -g ${{ matrix.group }} -c 2 --type e2e
testTimingsArtifact: 'test-timings'
skipNativeBuild: 'yes'
skipNativeInstall: 'no'
......@@ -249,7 +249,7 @@ jobs:
NEXT_TEST_DEPLOY_SCRIPT_PATH="${{ github.event.inputs.deployScriptPath || '' }}" \
NEXT_TEST_DEPLOY_LOGS_SCRIPT_PATH="${{ github.event.inputs.deployLogsScriptPath || '' }}" \
NEXT_TEST_CLEANUP_SCRIPT_PATH="${{ github.event.inputs.cleanupScriptPath || '' }}" \
node run-tests.js --timings --require-timings -g ${{ matrix.group }} -c 8 --type e2e
node run-tests.js --timings --require-timings -g ${{ matrix.group }} -c 2 --type e2e
testTimingsArtifact: 'test-timings'
skipNativeBuild: 'yes'
skipNativeInstall: 'no'
......@@ -297,7 +297,7 @@ jobs:
VERCEL_CLI_VERSION="${{ github.event.inputs.vercelCliVersion || 'vercel@latest' }}" \
VERCEL_FORCE_BUILD_IN_HIVE="${{ github.event.inputs.forceBuildInHive || '' }}" \
VERCEL_BUILD_CONTAINER_VERSION="${{ github.event.inputs.buildContainerVersion || '' }}" \
node run-tests.js --timings --require-timings -g ${{ matrix.group }} -c 8 --type e2e
node run-tests.js --timings --require-timings -g ${{ matrix.group }} -c 2 --type e2e
testTimingsArtifact: 'test-timings'
skipNativeBuild: 'yes'
skipNativeInstall: 'no'
......
......@@ -92,16 +92,7 @@ async function main() {
return
}
// Deploy tests build remotely at Vercel; the runner mostly waits on I/O,
// so run more of them concurrently (same as the deploy test jobs in
// test_e2e_deploy_release.yml).
const RUN_TESTS_ARGS = [
'run-tests.js',
'-c',
testMode === 'deploy' ? '8' : '1',
'--retries',
'0',
]
const RUN_TESTS_ARGS = ['run-tests.js', '-c', '1', '--retries', '0']
// Only override the test version for deploy tests, as they need to run against
// the artifacts for the pull request. Otherwise, we don't need to specify this property,
// as tests will run against the local version of Next.js.
......
......@@ -417,10 +417,6 @@ export class NextDeployInstance extends NextInstance {
// the flag is enough to force plain-URL output for both link and deploy.
vercelFlags.push('--non-interactive=false')
if (process.env.RUNNER_DEBUG === '1') {
vercelFlags.push('--debug')
}
// If the token is available in the environment, use it as the token in the
// environment.
if (TEST_TOKEN) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment