From 4f9c70923aa2e601fc52e2895186595beba47ebc Mon Sep 17 00:00:00 2001 From: Eleanor Boyd Date: Tue, 4 Jun 2024 13:05:28 -0700 Subject: [PATCH] bug fix to have load bar show during test discovery (#23537) fixes https://github.com/microsoft/vscode-python/issues/23536 --- src/client/testing/testController/controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/testing/testController/controller.ts b/src/client/testing/testController/controller.ts index 710a6cdce425..b55eaa446018 100644 --- a/src/client/testing/testController/controller.ts +++ b/src/client/testing/testController/controller.ts @@ -261,7 +261,7 @@ export class PythonTestController implements ITestController, IExtensionSingleAc if (workspace && workspace.uri) { const testAdapter = this.testAdapters.get(workspace.uri); if (testAdapter) { - testAdapter.discoverTests( + await testAdapter.discoverTests( this.testController, this.refreshCancellation.token, this.pythonExecFactory, @@ -282,7 +282,7 @@ export class PythonTestController implements ITestController, IExtensionSingleAc if (workspace && workspace.uri) { const testAdapter = this.testAdapters.get(workspace.uri); if (testAdapter) { - testAdapter.discoverTests( + await testAdapter.discoverTests( this.testController, this.refreshCancellation.token, this.pythonExecFactory,