Skip to content

Commit a7fa418

Browse files
author
Benjamin Pasero
committed
1 parent a711270 commit a7fa418

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

src/vs/platform/files/test/node/diskFileService.test.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class TestDiskFileSystemProvider extends DiskFileSystemProvider {
115115
}
116116
}
117117

118-
suite('Disk File Service', () => {
118+
suite('Disk File Service', function () {
119119

120120
const parentDir = getRandomTestPath(tmpdir(), 'vsctests', 'diskfileservice');
121121
const testSchema = 'test';
@@ -127,6 +127,12 @@ suite('Disk File Service', () => {
127127

128128
const disposables = new DisposableStore();
129129

130+
// Given issues such as https://github.com/microsoft/vscode/issues/78602
131+
// we see random test failures when accessing the native file system. To
132+
// diagnose further, we retry node.js file access tests up to 3 times to
133+
// rule out any random disk issue.
134+
this.retries(3);
135+
130136
setup(async () => {
131137
const logService = new NullLogService();
132138

@@ -614,11 +620,6 @@ suite('Disk File Service', () => {
614620
});
615621

616622
test('move - directory - across providers (unbuffered => buffered)', async function () {
617-
if (process.platform === 'linux') {
618-
this.skip();
619-
return;
620-
}
621-
622623
setCapabilities(fileProvider, FileSystemProviderCapabilities.FileReadWrite);
623624
setCapabilities(testProvider, FileSystemProviderCapabilities.FileOpenReadWriteClose);
624625

0 commit comments

Comments
 (0)