From 6a145094ab4772daa46c4549a8b745c83e46d67d Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Thu, 14 Nov 2024 17:34:49 -0800 Subject: [PATCH] Further skip `native_assets_test`(s) that runs `flutter build apk`. (#158966) Towards https://github.com/flutter/flutter/issues/158560. Still occurred twice in the last 24h: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20tool_integration_tests_6_6/42/overview https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20tool_integration_tests_6_6/44/overview Let's continue to debug why these are so troublesome, but not block the tree doing so. --- .../test/integration.shard/isolated/native_assets_test.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/flutter_tools/test/integration.shard/isolated/native_assets_test.dart b/packages/flutter_tools/test/integration.shard/isolated/native_assets_test.dart index 5c60634552..c4fe81939a 100644 --- a/packages/flutter_tools/test/integration.shard/isolated/native_assets_test.dart +++ b/packages/flutter_tools/test/integration.shard/isolated/native_assets_test.dart @@ -220,7 +220,11 @@ void main() { } expectCCompilerIsConfigured(exampleDirectory); }); - }); + }, + // TODO(matanlurey): Debug why flutter build apk often timesout. + // See https://github.com/flutter/flutter/issues/158560 for details. + skip: buildSubcommand == 'apk' ? 'flutter build apk times out' : false, // Temporary workaround for https://github.com/flutter/flutter/issues/158560. + ); } }