Skip to content

Commit 4f9c709

Browse files
authored
bug fix to have load bar show during test discovery (#23537)
fixes #23536
1 parent 629ca42 commit 4f9c709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/testing/testController/controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ export class PythonTestController implements ITestController, IExtensionSingleAc
261261
if (workspace && workspace.uri) {
262262
const testAdapter = this.testAdapters.get(workspace.uri);
263263
if (testAdapter) {
264-
testAdapter.discoverTests(
264+
await testAdapter.discoverTests(
265265
this.testController,
266266
this.refreshCancellation.token,
267267
this.pythonExecFactory,
@@ -282,7 +282,7 @@ export class PythonTestController implements ITestController, IExtensionSingleAc
282282
if (workspace && workspace.uri) {
283283
const testAdapter = this.testAdapters.get(workspace.uri);
284284
if (testAdapter) {
285-
testAdapter.discoverTests(
285+
await testAdapter.discoverTests(
286286
this.testController,
287287
this.refreshCancellation.token,
288288
this.pythonExecFactory,

0 commit comments

Comments
 (0)