Remove flutter attach test timeout (#53317)
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user