Skip to content

Commit

Permalink
TextFileEditorModel tests seldom fail in Appveyor (fixes microsoft#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Dec 1, 2015
1 parent 0c3e967 commit 87b408b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ suite('Files - TextFileEditorModel', () => {
});

test("Change after auto save triggered will cause another autosave and twice the events", function(done) {
this.timeout(10000); // TODO@Ben test tends to need longer?

let eventCounter = 0;
let m1 = baseInstantiationService.createInstance(TextFileEditorModel, toResource("/path/index.txt"), "utf8");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ suite('FileService', () => {
});

test('createFile', function(done: () => void) {
this.timeout(10000); // test tends to need longer?
this.timeout(10000); // TODO@Ben test tends to need longer?

let contents = 'Hello World';
service.createFile(uri.file(path.join(testDir, 'test.txt')), contents).done(s => {
Expand Down

0 comments on commit 87b408b

Please sign in to comment.