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
4ef1fe44
Unverified
Commit
4ef1fe44
authored
Feb 23, 2023
by
Michael Goderbauer
Committed by
GitHub
Feb 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work-around for channels flake (#121261)
parent
17372335
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
main_test.dart
...ntegration_tests/channels/integration_test/main_test.dart
+4
-1
binding.dart
packages/flutter/lib/src/foundation/binding.dart
+1
-1
No files found.
dev/integration_tests/channels/integration_test/main_test.dart
View file @
4ef1fe44
...
...
@@ -24,7 +24,10 @@ void main() {
while
(
getStatus
(
tester
)
==
'ok'
)
{
step
++;
print
(
'>> Tapping for step
$step
...'
);
await
tester
.
tap
(
stepButton
);
// TODO(goderbauer): Setting the pointer ID to something large to avoid
// that the test events clash with ghost events from the device to
// further investigate https://github.com/flutter/flutter/issues/116663.
await
tester
.
tap
(
stepButton
,
pointer:
500
+
step
);
await
tester
.
pump
();
expect
(
statusField
,
findsNothing
);
...
...
packages/flutter/lib/src/foundation/binding.dart
View file @
4ef1fe44
...
...
@@ -146,7 +146,7 @@ abstract class BindingBase {
return
true
;
}());
assert
(
_debugInitializedType
==
null
);
assert
(
_debugInitializedType
==
null
,
'Binding is already initialized to
$_debugInitializedType
'
);
initInstances
();
assert
(
_debugInitializedType
!=
null
);
...
...
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