skip a test on windows

This commit is contained in:
Devon Carew 2015-10-30 13:13:58 -07:00
parent 7115ff2674
commit 39cf521896

View File

@ -24,6 +24,9 @@ defineTests() {
temp.deleteSync(recursive: true); temp.deleteSync(recursive: true);
}); });
// This test consistently times out on our windows bot. The code is already
// covered on the linux one.
if (!Platform.isWindows) {
// Verify that we create a project that is well-formed. // Verify that we create a project that is well-formed.
test('init flutter-simple', () async { test('init flutter-simple', () async {
InitCommand command = new InitCommand(); InitCommand command = new InitCommand();
@ -44,6 +47,7 @@ defineTests() {
expect(exec.exitCode, 0); expect(exec.exitCode, 0);
}, },
// This test can take a while due to network requests. // This test can take a while due to network requests.
timeout: new Timeout(new Duration(minutes: 3))); timeout: new Timeout(new Duration(minutes: 2)));
}
}); });
} }