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
4e5cb2b2
Unverified
Commit
4e5cb2b2
authored
Feb 28, 2020
by
Jonah Williams
Committed by
GitHub
Feb 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flake] attempt to de-flake hot reload test (#51608)
parent
d499d61e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
hot_reload_test.dart
...flutter_tools/test/integration.shard/hot_reload_test.dart
+0
-6
No files found.
packages/flutter_tools/test/integration.shard/hot_reload_test.dart
View file @
4e5cb2b2
...
...
@@ -73,7 +73,6 @@ void main() {
test
(
'breakpoints are hit after hot reload'
,
()
async
{
Isolate
isolate
;
final
Completer
<
void
>
sawTick1
=
Completer
<
void
>();
final
Completer
<
void
>
sawTick3
=
Completer
<
void
>();
final
Completer
<
void
>
sawDebuggerPausedMessage
=
Completer
<
void
>();
final
StreamSubscription
<
String
>
subscription
=
_flutter
.
stdout
.
listen
(
(
String
line
)
{
...
...
@@ -81,10 +80,6 @@ void main() {
expect
(
sawTick1
.
isCompleted
,
isFalse
);
sawTick1
.
complete
();
}
if
(
line
.
contains
(
'((((TICK 3))))'
))
{
expect
(
sawTick3
.
isCompleted
,
isFalse
);
sawTick3
.
complete
();
}
if
(
line
.
contains
(
'The application is paused in the debugger on a breakpoint.'
))
{
expect
(
sawDebuggerPausedMessage
.
isCompleted
,
isFalse
);
sawDebuggerPausedMessage
.
complete
();
...
...
@@ -112,7 +107,6 @@ void main() {
);
bool
reloaded
=
false
;
final
Future
<
void
>
reloadFuture
=
_flutter
.
hotReload
().
then
((
void
value
)
{
reloaded
=
true
;
});
await
sawTick3
.
future
;
// this should happen before it pauses
isolate
=
await
_flutter
.
waitForPause
();
expect
(
isolate
.
pauseEvent
.
kind
,
equals
(
EventKind
.
kPauseBreakpoint
));
await
sawDebuggerPausedMessage
.
future
;
...
...
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