From 78de12b82fcc8ab177a53d70a5e7862628f10851 Mon Sep 17 00:00:00 2001 From: Christopher Fujino Date: Tue, 25 Jan 2022 09:55:10 -0800 Subject: [PATCH] [flutter_tools] Fix bug in background_isolate_test.dart (#97170) --- .../test/integration.shard/background_isolate_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/test/integration.shard/background_isolate_test.dart b/packages/flutter_tools/test/integration.shard/background_isolate_test.dart index 2ef29372bd..e2bcf1a9ce 100644 --- a/packages/flutter_tools/test/integration.shard/background_isolate_test.dart +++ b/packages/flutter_tools/test/integration.shard/background_isolate_test.dart @@ -50,7 +50,7 @@ void main() { project.updateTestIsolatePhrase(newBackgroundMessage); await flutter.hotRestart(); - await sawBackgroundMessage.future; + await sawNewBackgroundMessage.future; // Wait a tiny amount of time in case we did not kill the background isolate. await Future.delayed(const Duration(milliseconds: 10)); await subscription.cancel();