Double all timeouts on flutter_tools integration tests (#20872)

Due to CPU contention we've seen these go really slow on Cirrus (see https://github.com/flutter/flutter/issues/19542#issuecomment-414265152), and there's also a chance our flakes are timeouts due to running slow rather than hanging.
This commit is contained in:
Danny Tuppeny 2018-08-22 17:13:23 +01:00 committed by GitHub
parent 18e7549bc8
commit 65985db142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -110,5 +110,5 @@ void main() {
// https://github.com/flutter/flutter/issues/17833
// The test appears to be flaky and time out some times, skipping while
// investigation is ongoing: https://github.com/flutter/flutter/issues/19542
}, timeout: const Timeout.factor(3), skip: true);
}, timeout: const Timeout.factor(6), skip: true);
}

View File

@ -36,5 +36,5 @@ void main() {
await _flutterAttach.hotReload();
});
// TODO(dantup): Unskip after https://github.com/flutter/flutter/issues/17833.
}, timeout: const Timeout.factor(3), skip: platform.isWindows);
}, timeout: const Timeout.factor(6), skip: platform.isWindows);
}

View File

@ -45,5 +45,5 @@ void main() {
expect(isolate.pauseEvent, isInstanceOf<VMPauseBreakpointEvent>());
// TODO(dantup): Unskip after https://github.com/flutter/flutter/issues/18441.
}, skip: !platform.isLinux);
}, timeout: const Timeout.factor(3));
}, timeout: const Timeout.factor(6));
}

View File

@ -46,5 +46,5 @@ void main() {
expect(_flutter.hasExited, equals(false));
});
// TODO(dantup): Unskip after https://github.com/flutter/flutter/issues/17833.
}, timeout: const Timeout.factor(3), skip: platform.isWindows);
}, timeout: const Timeout.factor(6), skip: platform.isWindows);
}

View File

@ -18,9 +18,9 @@ import '../src/common.dart';
// Set this to true for debugging to get JSON written to stdout.
const bool _printJsonAndStderr = false;
const Duration defaultTimeout = Duration(seconds: 20);
const Duration appStartTimeout = Duration(seconds: 60);
const Duration quitTimeout = Duration(seconds: 5);
const Duration defaultTimeout = Duration(seconds: 40);
const Duration appStartTimeout = Duration(seconds: 120);
const Duration quitTimeout = Duration(seconds: 10);
class FlutterTestDriver {
FlutterTestDriver(this._projectFolder);