| Index: utils/tests/pub/test_pub.dart
|
| diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
|
| index 03f04164e804901443dfa727ac534aa1e80e947e..2073f4227f4be49eb2e7fe0bc5086b9b98df8014 100644
|
| --- a/utils/tests/pub/test_pub.dart
|
| +++ b/utils/tests/pub/test_pub.dart
|
| @@ -371,7 +371,14 @@ ScheduledProcess startPub({List args, Future<Uri> tokenEndpoint}) {
|
| /// git is installed and skip the test if not. This way, users don't need to
|
| /// have git installed to run the tests locally (unless they actually care
|
| /// about the pub git tests).
|
| +///
|
| +/// This will also increase the [Schedule] timeout to 30 seconds on Windows,
|
| +/// where Git runs really slowly.
|
| void ensureGit() {
|
| + if (Platform.operatingSystem == "windows") {
|
| + currentSchedule.timeout = new Duration(seconds: 30);
|
| + }
|
| +
|
| schedule(() {
|
| return gitlib.isInstalled.then((installed) {
|
| if (installed) return;
|
|
|