Disable flaky menu test (#155968)
Related to https://github.com/flutter/flutter/issues/154858
We think the forceGC method is flaky, as also documented in 621e7ef951/packages/flutter/test/widgets/widget_inspector_test.dart (L336)
It was being used in a MenuAnchor test here. This disables the flaky test until we can fix the root issue.
This commit is contained in:
@@ -4513,7 +4513,8 @@ void main() {
|
||||
});
|
||||
|
||||
expect(state.target, isNull);
|
||||
}, skip: kIsWeb // [intended] ForceGC does not work in web and in release mode. See https://api.flutter.dev/flutter/package-leak_tracker_leak_tracker/forceGC.html
|
||||
}, skip: true // Skipped for everyone else: forceGC is flaky, see https://github.com/flutter/flutter/issues/154858
|
||||
// Skipped on Web: [intended] ForceGC does not work in web and in release mode. See https://api.flutter.dev/flutter/package-leak_tracker_leak_tracker/forceGC.html
|
||||
);
|
||||
|
||||
// Regression test for https://github.com/flutter/flutter/issues/154798.
|
||||
|
||||
Reference in New Issue
Block a user