Skip to content

Commit 68ff52b

Browse files
author
Benjamin Pasero
committed
increase timeout for microsoft#45745
1 parent b92f1d1 commit 68ff52b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/vs/platform/backup/test/electron-main/backupMainService.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ suite('BackupMainService', () => {
9999
return pfs.del(backupHome, os.tmpdir());
100100
});
101101

102-
test('service validates backup workspaces on startup and cleans up (folder workspaces)', () => {
102+
test('service validates backup workspaces on startup and cleans up (folder workspaces)', function () {
103+
this.timeout(1000 * 10); // increase timeout for this test
103104

104105
// 1) backup workspace path does not exist
105106
service.registerFolderBackupSync(fooFile.fsPath);
@@ -144,7 +145,8 @@ suite('BackupMainService', () => {
144145
assert.equal(service.getEmptyWindowBackupPaths().length, 1);
145146
});
146147

147-
test('service validates backup workspaces on startup and cleans up (root workspaces)', () => {
148+
test('service validates backup workspaces on startup and cleans up (root workspaces)', function () {
149+
this.timeout(1000 * 10); // increase timeout for this test
148150

149151
// 1) backup workspace path does not exist
150152
service.registerWorkspaceBackupSync(toWorkspace(fooFile.fsPath));

0 commit comments

Comments
 (0)