Remove flutter attach test timeout (#53317)

This commit is contained in:
xster
2020-03-26 09:56:02 -07:00
committed by GitHub
parent 9d97918c60
commit ef7eb7edb3
2 changed files with 2 additions and 5 deletions

View File

@@ -57,11 +57,7 @@ Future<void> testReload(Process process, { Future<void> Function() onListening }
}
await eventOrExit(listening.future);
await eventOrExit(ready.future).timeout(const Duration(seconds: 15), onTimeout: () {
// If it can't attach in 15 seconds, it's not capable of finding the
// observatory URL in the logs.
throw TaskResult.failure('Failed to attach to running Flutter process');
});
await eventOrExit(ready.future);
if (exitCode != null)
throw TaskResult.failure('Failed to attach to test app; command unexpected exited, with exit code $exitCode.');

View File

@@ -373,6 +373,7 @@ tasks:
Tests the `flutter attach` command.
stage: devicelab
required_agent_capabilities: ["linux/android"]
timeout_in_minutes: 20
named_isolates_test:
description: >