Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
e04dad29
Unverified
Commit
e04dad29
authored
Jan 12, 2026
by
Hendrik Liebau
Committed by
GitHub
Jan 12, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test] Remove obsolete reference to `NEXT_TEST_SKIP_RETRY_MANIFEST` (#88434)
The manifest is not used anymore as of #76361.
parent
818be9ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
22 deletions
+1
-22
run-tests.js
run-tests.js
+1
-22
No files found.
run-tests.js
View file @
e04dad29
...
@@ -57,12 +57,6 @@ const isTestJob = !!process.env.NEXT_TEST_JOB
...
@@ -57,12 +57,6 @@ const isTestJob = !!process.env.NEXT_TEST_JOB
const
shouldContinueTestsOnError
=
const
shouldContinueTestsOnError
=
process
.
env
.
NEXT_TEST_CONTINUE_ON_ERROR
===
'true'
process
.
env
.
NEXT_TEST_CONTINUE_ON_ERROR
===
'true'
// Check env to load a list of test paths to skip retry. This is to be used in conjunction with NEXT_TEST_CONTINUE_ON_ERROR,
// When try to run all of the tests regardless of pass / fail and want to skip retrying `known` failed tests.
// manifest should be a json file with an array of test paths.
const
skipRetryTestManifest
=
process
.
env
.
NEXT_TEST_SKIP_RETRY_MANIFEST
?
require
(
process
.
env
.
NEXT_TEST_SKIP_RETRY_MANIFEST
)
:
[]
const
KV_TIMINGS_KEY
=
'test-timings'
const
KV_TIMINGS_KEY
=
'test-timings'
const
kvClient
=
const
kvClient
=
...
@@ -671,24 +665,10 @@ ${ENDGROUP}`)
...
@@ -671,24 +665,10 @@ ${ENDGROUP}`)
const
runTest
=
async
(
/** @type {TestFile} */
test
)
=>
{
const
runTest
=
async
(
/** @type {TestFile} */
test
)
=>
{
let
passed
=
false
let
passed
=
false
const
shouldSkipRetries
=
skipRetryTestManifest
.
find
((
t
)
=>
t
.
includes
(
test
.
file
)
)
const
numRetries
=
shouldSkipRetries
?
0
:
originalRetries
if
(
shouldSkipRetries
)
{
console
.
log
(
`Skipping retry for
${
test
.
file
}
due to skipRetryTestManifest`
)
}
for
(
let
i
=
0
;
i
<
numRetries
+
1
;
i
++
)
{
for
(
let
i
=
0
;
i
<
numRetries
+
1
;
i
++
)
{
try
{
try
{
console
.
log
(
`Starting
${
test
.
file
}
retry
${
i
}
/
${
numRetries
}
`
)
console
.
log
(
`Starting
${
test
.
file
}
retry
${
i
}
/
${
numRetries
}
`
)
const
time
=
await
runTestOnce
(
const
time
=
await
runTestOnce
(
test
,
i
===
numRetries
,
i
>
0
)
test
,
shouldSkipRetries
||
i
===
numRetries
,
shouldSkipRetries
||
i
>
0
)
timings
.
push
({
timings
.
push
({
file
:
test
.
file
,
file
:
test
.
file
,
time
,
time
,
...
@@ -765,7 +745,6 @@ ${ENDGROUP}`)
...
@@ -765,7 +745,6 @@ ${ENDGROUP}`)
const
directorySemas
=
new
Map
()
const
directorySemas
=
new
Map
()
const
originalRetries
=
numRetries
const
results
=
await
Promise
.
allSettled
(
const
results
=
await
Promise
.
allSettled
(
tests
.
map
(
async
(
test
)
=>
{
tests
.
map
(
async
(
test
)
=>
{
const
dirName
=
path
.
dirname
(
test
.
file
)
const
dirName
=
path
.
dirname
(
test
.
file
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment