From cc9f59e0bc8133607694e9b3e188aa39471b2863 Mon Sep 17 00:00:00 2001 From: Mikhail Abramov Date: Tue, 17 Oct 2023 13:44:01 +0200 Subject: [PATCH] FUSETOOLS2-2171: Increase teardown timeout to avoid flaky test --- src/test/suite/camel.version.settings.test.ts | 1 + src/test/suite/maven.repository.settings.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/test/suite/camel.version.settings.test.ts b/src/test/suite/camel.version.settings.test.ts index 14a2817c..029b1f2f 100644 --- a/src/test/suite/camel.version.settings.test.ts +++ b/src/test/suite/camel.version.settings.test.ts @@ -33,6 +33,7 @@ suite('Should run commands with Camel version specified in settings', () => { }); teardown(async function () { + this.timeout(4000); await workspace.getConfiguration().update(CAMEL_VERSION_SETTINGS_ID, initialCamelVersion); }); diff --git a/src/test/suite/maven.repository.settings.test.ts b/src/test/suite/maven.repository.settings.test.ts index bb442c06..56f46fee 100644 --- a/src/test/suite/maven.repository.settings.test.ts +++ b/src/test/suite/maven.repository.settings.test.ts @@ -37,6 +37,7 @@ suite('Should run commands with Maven Repository specified in settings', () => { }); teardown(async function () { + this.timeout(4000); await workspace.getConfiguration().update(CAMEL_VERSION_SETTINGS_ID, initialCamelVersion); });