Skip to content

Commit 4ef1fe4

Browse files
authored
Work-around for channels flake (#121261)
1 parent 1737233 commit 4ef1fe4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

dev/integration_tests/channels/integration_test/main_test.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ void main() {
2424
while (getStatus(tester) == 'ok') {
2525
step++;
2626
print('>> Tapping for step $step...');
27-
await tester.tap(stepButton);
27+
// TODO(goderbauer): Setting the pointer ID to something large to avoid
28+
// that the test events clash with ghost events from the device to
29+
// further investigate https://github.com/flutter/flutter/issues/116663.
30+
await tester.tap(stepButton, pointer: 500 + step);
2831
await tester.pump();
2932
expect(statusField, findsNothing);
3033

packages/flutter/lib/src/foundation/binding.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ abstract class BindingBase {
146146
return true;
147147
}());
148148

149-
assert(_debugInitializedType == null);
149+
assert(_debugInitializedType == null, 'Binding is already initialized to $_debugInitializedType');
150150
initInstances();
151151
assert(_debugInitializedType != null);
152152

0 commit comments

Comments
 (0)