Re-add tool test general per-test timeout (#74531)

This commit is contained in:
Jenn Magder
2021-01-25 12:47:01 -08:00
committed by GitHub
parent 92427f260a
commit 35000147e6
3 changed files with 5 additions and 2 deletions

View File

@@ -301,6 +301,8 @@ Future<void> _runToolTests() async {
forceSingleCore: subshard != 'general',
testPaths: <String>[path.join(kTest, '$subshard$kDotShard', suffix)],
enableFlutterToolAsserts: subshard != 'general',
// Detect unit test time regressions (poor time delay handling, etc).
perTestTimeout: (subshard == 'general') ? const Duration(seconds: 2) : null,
);
},
);