Skip to content

Commit 0c3d2cf

Browse files
committed
tests - working copy backup tests are flaky because it accesses the disk
1 parent 8e2905a commit 0c3d2cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/services/workingCopy/test/electron-browser/workingCopyBackupService.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { Promises, readdirSync } from 'vs/base/node/pfs';
1616
import { URI } from 'vs/base/common/uri';
1717
import { WorkingCopyBackupsModel, hashIdentifier } from 'vs/workbench/services/workingCopy/common/workingCopyBackupService';
1818
import { createTextModel } from 'vs/editor/test/common/editorTestUtils';
19-
import { getPathFromAmdModule, getRandomTestPath } from 'vs/base/test/node/testUtils';
19+
import { flakySuite, getPathFromAmdModule, getRandomTestPath } from 'vs/base/test/node/testUtils';
2020
import { Schemas } from 'vs/base/common/network';
2121
import { FileService } from 'vs/platform/files/common/fileService';
2222
import { NullLogService } from 'vs/platform/log/common/log';
@@ -124,7 +124,7 @@ export class NodeTestWorkingCopyBackupService extends NativeWorkingCopyBackupSer
124124
}
125125
}
126126

127-
suite('WorkingCopyBackupService', () => {
127+
flakySuite('WorkingCopyBackupService', () => {
128128

129129
let testDir: string;
130130
let backupHome: string;

0 commit comments

Comments
 (0)