Skip to content

Commit d064494

Browse files
IanMatthewHuffIan Huff
andauthored
fix nightly shutdown test (microsoft#13175)
Co-authored-by: Ian Huff <ianhuff@ravikun-dev2.redmond.corp.microsoft.com>
1 parent 8de8814 commit d064494

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

‎news/3 Code Health/13171.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix nightly flake test failures for startup and shutdown native editor test.

‎src/test/datascience/nativeEditor.functional.test.tsx‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import { IKernelSpecQuickPickItem } from '../../client/datascience/jupyter/kerne
3030
import {
3131
ICell,
3232
IDataScienceErrorHandler,
33-
IDataScienceFileSystem,
3433
IJupyterExecution,
3534
INotebookEditorProvider,
3635
INotebookExporter,
@@ -716,16 +715,6 @@ df.head()`;
716715
});
717716

718717
runMountedTest('Startup and shutdown', async () => {
719-
// Stub the `stat` method to return a dummy value.
720-
try {
721-
sinon
722-
.stub(ioc.serviceContainer.get<IDataScienceFileSystem>(IDataScienceFileSystem), 'stat')
723-
.resolves({ mtime: 0 } as any);
724-
} catch (e) {
725-
// tslint:disable-next-line: no-console
726-
console.log(`Stub failure ${e}`);
727-
}
728-
729718
addMockData(ioc, 'b=2\nb', 2);
730719
addMockData(ioc, 'c=3\nc', 3);
731720

0 commit comments

Comments
 (0)