mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Make the flutter test tests resilient to startup lock (#8941)
This commit is contained in:
parent
90799e4479
commit
dfb6198feb
@ -73,6 +73,8 @@ Future<Null> _testFile(String testName, String workingDirectory, String testDire
|
||||
|
||||
expect(exec.exitCode, isNonZero);
|
||||
final List<String> output = exec.stdout.split('\n');
|
||||
if (output.first == 'Waiting for another flutter command to release the startup lock...')
|
||||
output.removeAt(0);
|
||||
output.add('<<stderr>>');
|
||||
output.addAll(exec.stderr.split('\n'));
|
||||
final List<String> expectations = fs.file(fullTestExpectation).readAsLinesSync();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user