From 0b6f99769d09ac3b48470be142fc5d10f4d82412 Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Tue, 5 Nov 2024 15:43:50 -0800 Subject: [PATCH] Remove observatory related TODO that is already fixed. (#158205) Description intentionally left blank :) --- .../test/integration.shard/flutter_attach_test.dart | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/flutter_tools/test/integration.shard/flutter_attach_test.dart b/packages/flutter_tools/test/integration.shard/flutter_attach_test.dart index f267d53798..1d92a7a4b7 100644 --- a/packages/flutter_tools/test/integration.shard/flutter_attach_test.dart +++ b/packages/flutter_tools/test/integration.shard/flutter_attach_test.dart @@ -204,12 +204,7 @@ void main() { testWithoutContext('enables Observatory on attach', () async { await flutterRun.run(withDebugger: true); - // Bail out if Observatory is still served by default in the VM. - // TODO(bkonyi): replace this with the following once Observatory is disabled in the VM: - // expect(await isObservatoryAvailable(), isFalse); - if (await isObservatoryAvailable()) { - return; - } + expect(await isObservatoryAvailable(), false); await flutterAttach.attach( flutterRun.vmServicePort!, serveObservatory: true,