Skip to content

Commit e4db254

Browse files
committed
try larger timeout for huge model w editor test
1 parent 7f492e1 commit e4db254

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/vs/workbench/test/node/api/mainThreadDocumentsAndEditors.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ suite('MainThreadDocumentsAndEditors', () => {
6060

6161
test('ignore huge model', () => {
6262

63-
const data = new Array(2 + (5 * 1024 * 1024)).join('!');
63+
const data = new Array(2 + (5 * 1024 * 1024)).join(' ');
6464
const model = modelService.createModel(data, null, null);
6565
assert.ok(model.isTooLargeForHavingARichMode());
6666

@@ -74,8 +74,9 @@ suite('MainThreadDocumentsAndEditors', () => {
7474
});
7575

7676
test('ignore huge model from editor', () => {
77+
this.timeout(1000 * 60); // increase timeout for this one test
7778

78-
const data = new Array(2 + (5 * 1024 * 1024)).join('!');
79+
const data = new Array(2 + (5 * 1024 * 1024)).join(' ');
7980
const model = modelService.createModel(data, null, null);
8081
const editor = mockCodeEditor(null, { model });
8182

0 commit comments

Comments
 (0)