diff --git a/src/client/testing/testController/common/server.ts b/src/client/testing/testController/common/server.ts index 7029a70989e3..9757523e56c0 100644 --- a/src/client/testing/testController/common/server.ts +++ b/src/client/testing/testController/common/server.ts @@ -297,7 +297,7 @@ export class PythonTestServer implements ITestServer, Disposable { data: JSON.stringify(createEOTPayload(true)), }); } - } else if (code !== 0) { + } else if (code !== 0 && testIds) { // This occurs when we are running the test and there is an error which occurs. traceError(