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
ca5e33d7
Unverified
Commit
ca5e33d7
authored
Mar 12, 2026
by
Sebastian "Sebbie" Silbermann
Committed by
GitHub
Mar 12, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci] Disable test-level retries during flakiness detection (#91261)
Co-authored-by:
Cursor Agent
<
cursoragent@cursor.com
>
parent
41ed440b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
test-new-tests.mjs
scripts/test-new-tests.mjs
+1
-0
index.ts
test/lib/e2e-utils/index.ts
+1
-1
No files found.
scripts/test-new-tests.mjs
View file @
ca5e33d7
...
@@ -160,6 +160,7 @@ async function main() {
...
@@ -160,6 +160,7 @@ async function main() {
NEXT_TEST_MODE
:
testMode
,
NEXT_TEST_MODE
:
testMode
,
NEXT_TEST_VERSION
:
nextTestVersion
,
NEXT_TEST_VERSION
:
nextTestVersion
,
NEXT_EXTERNAL_TESTS_FILTERS
,
NEXT_EXTERNAL_TESTS_FILTERS
,
NEXT_FLAKE_DETECTION
:
'1'
,
IS_TURBOPACK_TEST
:
'1'
,
IS_TURBOPACK_TEST
:
'1'
,
TURBOPACK_BUILD
:
TURBOPACK_BUILD
:
testMode
===
'start'
||
testMode
===
'deploy'
?
'1'
:
undefined
,
testMode
===
'start'
||
testMode
===
'deploy'
?
'1'
:
undefined
,
...
...
test/lib/e2e-utils/index.ts
View file @
ca5e33d7
...
@@ -126,7 +126,7 @@ if (!e2eGlobal.__NEXT_E2E_TEST_CONFIG_PATCHED__) {
...
@@ -126,7 +126,7 @@ if (!e2eGlobal.__NEXT_E2E_TEST_CONFIG_PATCHED__) {
global
.
test
=
wrapJestTestFn
(
global
.
test
)
as
jest
.
It
global
.
test
=
wrapJestTestFn
(
global
.
test
)
as
jest
.
It
}
}
if
(
process
.
env
.
NEXT_TEST_CI
)
{
if
(
process
.
env
.
NEXT_TEST_CI
&&
!
process
.
env
.
NEXT_FLAKE_DETECTION
)
{
jest
.
retryTimes
(
1
)
jest
.
retryTimes
(
1
)
}
}
}
}
...
...
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