increase default timeout for event waiting, fixes https://github.com/microsoft/vscode/issues/116704
This commit is contained in:
parent
2e53ffced9
commit
d9c653c8b6
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ export function assertNoRpcFromEntry(entry: [obj: any, name: string]) {
|
|||
assert.strictEqual(proxyPaths.length, 0, proxyPaths.join('\n')); // happens...
|
||||
}
|
||||
|
||||
export async function asPromise<T>(event: vscode.Event<T>, timeout = 1000): Promise<T> {
|
||||
export async function asPromise<T>(event: vscode.Event<T>, timeout = 5000): Promise<T> {
|
||||
return new Promise<T>((resolve, reject) => {
|
||||
|
||||
const handle = setTimeout(() => {
|
||||
|
|
Loading…
Reference in a new issue