[gardening] Increase timeout for slow protobuf_aware_treeshaker/treeshaker_test

TEST=ci
Fixes https://github.com/dart-lang/sdk/issues/47872

Change-Id: Ibd0b576d5e6ba3c574c21f57a8f5eead2f2341dc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/222324
Auto-Submit: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
This commit is contained in:
Alexander Markov 2021-12-08 00:28:59 +00:00 committed by Commit Bot
parent 965333d95c
commit d5b3632868

View file

@ -92,17 +92,19 @@ Future<void> compileAOT(Uri source) async {
);
}
main() async {
final testCases = Directory(path.join(
pkgVmDir,
'testcases',
'transformations',
'type_flow',
'transformer',
'protobuf_handler',
'lib',
)).listSync().where((f) => f.path.endsWith('_test.dart'));
for (final entry in testCases) {
test(entry.path, () => runTestCase(entry.uri));
}
main() {
group('protobuf-aware-treeshaker', () {
final testCases = Directory(path.join(
pkgVmDir,
'testcases',
'transformations',
'type_flow',
'transformer',
'protobuf_handler',
'lib',
)).listSync().where((f) => f.path.endsWith('_test.dart'));
for (final entry in testCases) {
test(entry.path, () => runTestCase(entry.uri));
}
}, timeout: Timeout.none);
}