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
d402d40a
Unverified
Commit
d402d40a
authored
Nov 02, 2017
by
Ian Hickson
Committed by
GitHub
Nov 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Up a timeout to reduce the number of flakes. (#12837)
parent
1d4607ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
flutter_platform.dart
packages/flutter_tools/lib/src/test/flutter_platform.dart
+4
-1
No files found.
packages/flutter_tools/lib/src/test/flutter_platform.dart
View file @
d402d40a
...
...
@@ -22,7 +22,7 @@ import 'watcher.dart';
/// The timeout we give the test process to connect to the test harness
/// once the process has entered its main method.
const
Duration
_kTestStartupTimeout
=
const
Duration
(
seconds:
5
);
const
Duration
_kTestStartupTimeout
=
const
Duration
(
minutes:
1
);
/// The timeout we give the test process to start executing Dart code. When the
/// CPU is under severe load, this can take a while, but it's not indicative of
...
...
@@ -274,6 +274,9 @@ class _FlutterPlatform extends PlatformPlugin {
await
controller
.
sink
.
done
;
break
;
case
_InitialResult
.
timedOut
:
// Could happen either if the process takes a long time starting
// (_kTestProcessTimeout), or if once Dart code starts running, it takes a
// long time to open the WebSocket connection (_kTestStartupTimeout).
printTrace
(
'test
$ourTestCount
: timed out waiting for process with pid
${process.pid}
to connect to test harness'
);
final
String
message
=
_getErrorMessage
(
'Test never connected to test harness.'
,
testPath
,
shellPath
);
controller
.
sink
.
addError
(
message
);
...
...
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