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:
Kate Lovett
2024-09-30 20:18:39 -04:00
committed by GitHub
parent cf4dace52b
commit 0fb6774d5e

View File

@@ -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.