Unverified Commit cc52a903 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] add status logs to determine where test is getting stuck (#51984)

parent 83dba9bc
......@@ -107,14 +107,19 @@ void main() {
);
bool reloaded = false;
final Future<void> reloadFuture = _flutter.hotReload().then((void value) { reloaded = true; });
print('waiting for pause...');
isolate = await _flutter.waitForPause();
expect(isolate.pauseEvent.kind, equals(EventKind.kPauseBreakpoint));
print('waiting for debugger message...');
await sawDebuggerPausedMessage.future;
expect(reloaded, isFalse);
print('waiting for resume...');
await _flutter.resume();
print('waiting for reload future...');
await reloadFuture;
expect(reloaded, isTrue);
reloaded = false;
print('subscription cancel...');
await subscription.cancel();
});
......
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