Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
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
abdullh.alsoleman
Front-End
Commits
e10049b2
Unverified
Commit
e10049b2
authored
Mar 24, 2024
by
Polina Cherkasova
Committed by
GitHub
Mar 24, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn off randomization for leak detection bots. (#145624)
parent
33739617
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
.ci.yaml
.ci.yaml
+4
-2
test.dart
dev/bots/test.dart
+3
-1
No files found.
.ci.yaml
View file @
e10049b2
...
...
@@ -5237,7 +5237,8 @@ targets:
["framework", "hostonly", "shard", "windows"]
env_variables: >-
{
"LEAK_TRACKING": "true"
"LEAK_TRACKING": "true",
"TEST_RANDOMIZATION_OFF": "true"
}
runIf
:
-
dev/**
...
...
@@ -5323,7 +5324,8 @@ targets:
["framework", "hostonly", "shard", "windows"]
env_variables: >-
{
"LEAK_TRACKING": "true"
"LEAK_TRACKING": "true",
"TEST_RANDOMIZATION_OFF": "true"
}
runIf
:
-
dev/**
...
...
dev/bots/test.dart
View file @
e10049b2
...
...
@@ -187,6 +187,8 @@ String get shuffleSeed {
return
_shuffleSeed
!;
}
final
bool
_isRandomizationOff
=
bool
.
tryParse
(
Platform
.
environment
[
'TEST_RANDOMIZATION_OFF'
]
??
''
)
??
false
;
/// When you call this, you can pass additional arguments to pass custom
/// arguments to flutter test. For example, you might want to call this
/// script with the parameter --local-engine=host_debug_unopt to
...
...
@@ -2471,7 +2473,7 @@ Future<void> _runFlutterTest(String workingDirectory, {
final
List
<
String
>
args
=
<
String
>[
'test'
,
if
(
shuffleTests
)
'--test-randomize-ordering-seed=
$shuffleSeed
'
,
if
(
shuffleTests
&&
!
_isRandomizationOff
)
'--test-randomize-ordering-seed=
$shuffleSeed
'
,
if
(
fatalWarnings
)
'--fatal-warnings'
,
...
options
,
...
tags
,
...
...
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