From dfb6198febd2c21705f1abb99704cb73af40965a Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Wed, 22 Mar 2017 11:07:58 -0700 Subject: [PATCH] Make the `flutter test` tests resilient to startup lock (#8941) --- packages/flutter_tools/test/test_test.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/flutter_tools/test/test_test.dart b/packages/flutter_tools/test/test_test.dart index b55c01ea3bf..c3e52e6eab6 100644 --- a/packages/flutter_tools/test/test_test.dart +++ b/packages/flutter_tools/test/test_test.dart @@ -73,6 +73,8 @@ Future _testFile(String testName, String workingDirectory, String testDire expect(exec.exitCode, isNonZero); final List output = exec.stdout.split('\n'); + if (output.first == 'Waiting for another flutter command to release the startup lock...') + output.removeAt(0); output.add('<>'); output.addAll(exec.stderr.split('\n')); final List expectations = fs.file(fullTestExpectation).readAsLinesSync();