Unverified Commit ef7eb7ed authored by xster's avatar xster Committed by GitHub

Remove flutter attach test timeout (#53317)

parent 9d97918c
...@@ -57,11 +57,7 @@ Future<void> testReload(Process process, { Future<void> Function() onListening } ...@@ -57,11 +57,7 @@ Future<void> testReload(Process process, { Future<void> Function() onListening }
} }
await eventOrExit(listening.future); await eventOrExit(listening.future);
await eventOrExit(ready.future).timeout(const Duration(seconds: 15), onTimeout: () { await eventOrExit(ready.future);
// 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');
});
if (exitCode != null) if (exitCode != null)
throw TaskResult.failure('Failed to attach to test app; command unexpected exited, with exit code $exitCode.'); throw TaskResult.failure('Failed to attach to test app; command unexpected exited, with exit code $exitCode.');
......
...@@ -373,6 +373,7 @@ tasks: ...@@ -373,6 +373,7 @@ tasks:
Tests the `flutter attach` command. Tests the `flutter attach` command.
stage: devicelab stage: devicelab
required_agent_capabilities: ["linux/android"] required_agent_capabilities: ["linux/android"]
timeout_in_minutes: 20
named_isolates_test: named_isolates_test:
description: > description: >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment