Skip to content

Commit c6aca4e

Browse files
authored
[hooks_runner] Increase test timeout (dart-lang#3079)
1 parent f1b6ca6 commit c6aca4e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎pkgs/hooks_runner/test/build_runner/pub_workspace_test.dart‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import 'package:test/test.dart';
1111
import '../helpers.dart';
1212
import 'helpers.dart';
1313

14+
const Timeout longTimeout = Timeout(Duration(minutes: 5));
15+
1416
void main() async {
1517
late Uri tempUri;
1618
setUp(() async {
@@ -70,7 +72,7 @@ dependency_overrides:
7072
await runPubGet(workingDirectory: tempUri, logger: logger);
7173
}
7274

73-
test('pub workspaces', () async {
75+
test('pub workspaces', timeout: longTimeout, () async {
7476
final packageUri = tempUri.resolve('named_add_renamed/');
7577
await Directory.fromUri(
7678
tempUri.resolve('native_add/'),
@@ -107,7 +109,7 @@ dependency_overrides:
107109
expect(logs.join('\n'), contains('Skipping build for native_add'));
108110
});
109111

110-
test('packagesWithBuildHooks', () async {
112+
test('packagesWithBuildHooks', timeout: longTimeout, () async {
111113
const fileSystem = LocalFileSystem();
112114
final packageUri = tempUri.resolve('no_hook/');
113115
await makePubWorkspace([

0 commit comments

Comments
 (0)