Skip to content

Commit b127883

Browse files
authored
Add test timeout of 2 minutes for all tests missing a timeout (#1854)
1 parent c884705 commit b127883

40 files changed

+51
-0
lines changed

dwds/test/build_daemon_breakpoint_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
@Timeout(Duration(minutes: 2))
67
import 'dart:async';
78

89
import 'package:dwds/src/connections/debug_connection.dart';

dwds/test/build_daemon_callstack_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
@Timeout(Duration(minutes: 2))
67
import 'dart:async';
78

89
import 'package:dwds/src/connections/debug_connection.dart';

dwds/test/build_daemon_circular_evaluate_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
@Timeout(Duration(minutes: 2))
67

78
import 'package:test/test.dart';
89

dwds/test/build_daemon_evaluate_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
@Timeout(Duration(minutes: 2))
67

78
import 'package:test/test.dart';
89

dwds/test/chrome_proxy_service_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
@Timeout(Duration(minutes: 2))
67
import 'dart:async';
78
import 'dart:convert';
89
import 'dart:io';

dwds/test/dart_uri_file_uri_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
@Timeout(Duration(minutes: 2))
67

78
import 'package:dwds/src/utilities/dart_uri.dart';
89
import 'package:path/path.dart' as p;

dwds/test/dart_uri_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
@Timeout(Duration(minutes: 2))
67
import 'dart:io';
78

89
import 'package:dwds/src/loaders/strategy.dart';

dwds/test/debug_extension_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
@OnPlatform({
1010
'windows': Skip('https://github.com/dart-lang/webdev/issues/711'),
1111
})
12+
1213
import 'package:dwds/src/connections/debug_connection.dart';
1314
import 'package:dwds/src/handlers/injector.dart';
1415
import 'package:http/http.dart' as http;

dwds/test/debug_service_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
@Timeout(Duration(minutes: 2))
67
import 'dart:async';
78
import 'dart:convert';
89
import 'dart:io';

dwds/test/debugger_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
@Timeout(Duration(minutes: 2))
67
import 'dart:async';
78

89
import 'package:dwds/src/debugging/debugger.dart';

0 commit comments

Comments
 (0)