提交 86deb14f 编写于 作者: J Johannes Rieken

make slow timeout event slower, fixes https://github.com/microsoft/vscode/issues/112262

上级 6a03e96b
......@@ -226,11 +226,12 @@ suite('ExtHostDocumentSaveParticipant', () => {
});
});
test('event delivery, waitUntil will timeout', () => {
test('event delivery, waitUntil will timeout', function () {
const participant = new ExtHostDocumentSaveParticipant(nullLogService, documents, mainThreadBulkEdits, { timeout: 5, errors: 3 });
let sub = participant.getOnWillSaveTextDocumentEvent(nullExtensionDescription)(function (event) {
event.waitUntil(timeout(15));
event.waitUntil(timeout(100));
});
return participant.$participateInSave(resource, SaveReason.EXPLICIT).then(values => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册