Skip to content

Commit beaf5fc

Browse files
committed
extension/test/gopls: allow more time for testify tests
gopls needs to load stretchr and its dependencies to analyze stretchrTestSuite test package, used for the recently added "Code lenses with stretchr/testify/suite" test. Windows GH workflow is not fast enough to complete module and package loads. Allow more time. Fixes #3172 Change-Id: Iac304793948ce8ff3d0ba415868e239668cbbcf7 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/563695 Reviewed-by: Robert Findley <[email protected]> TryBot-Result: kokoro <[email protected]> Commit-Queue: Hyang-Ah Hana Kim <[email protected]>
1 parent 484a195 commit beaf5fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

extension/test/gopls/codelens.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ suite('Code lenses for testing and benchmarking', function () {
229229
});
230230

231231
suite('Code lenses with stretchr/testify/suite', function () {
232+
if (process.platform === 'win32') {
233+
this.timeout(20000); // Gopls on windows needs more time to load required modules.
234+
}
235+
232236
const ctx = MockExtensionContext.new();
233237

234238
const testdataDir = path.join(__dirname, '..', '..', '..', 'test', 'testdata', 'stretchrTestSuite');

0 commit comments

Comments
 (0)