test: fix resolve file names in logs tests for GOPATH

The tests that were supposed to be for GOPATH mode were also
testing modules mode. This changes fixes that, as well as increases
the timeout for these tests, as they sometimes fail in the long tests
for windows.

Change-Id: Id6715013470b968f4a4aa3fbbbf48ded3751389d
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/276852
Trust: Suzy Mueller <suzmue@golang.org>
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
diff --git a/test/integration/test.test.ts b/test/integration/test.test.ts
index 2ef8415..902c923 100644
--- a/test/integration/test.test.ts
+++ b/test/integration/test.test.ts
@@ -96,7 +96,7 @@
 });
 
 suite('Test Go Test', function () {
-	this.timeout(10000);
+	this.timeout(50000);
 
 	const sourcePath = path.join(__dirname, '..', '..', '..', 'test', 'testdata', 'goTestTest');
 
@@ -134,8 +134,6 @@
 		input: { isMod: boolean, includeSubDirectories: boolean, testFlags?: string[], applyCodeCoverage?: boolean },
 		wantFiles: string[]) {
 
-		fs.copySync(sourcePath, repoPath, { recursive: true });
-
 		const config = Object.create(vscode.workspace.getConfiguration('go'));
 		const outputChannel = new FakeOutputChannel();
 
@@ -184,21 +182,21 @@
 	});
 
 	test('resolves file names in logs (GOPATH)', async () => {
-		setupRepo(true);
+		setupRepo(false);
 		await runTest(
-			{ isMod: true, includeSubDirectories: true },
+			{ isMod: false, includeSubDirectories: true },
 			[path.join(repoPath, 'a_test.go'), path.join(repoPath, 'b', 'b_test.go')]);
 		await runTest(
-			{ isMod: true, includeSubDirectories: false },
+			{ isMod: false, includeSubDirectories: false },
 			[path.join(repoPath, 'a_test.go')]);
 		await runTest(
-			{ isMod: true, includeSubDirectories: true, testFlags: ['-v'] },
+			{ isMod: false, includeSubDirectories: true, testFlags: ['-v'] },
 			[path.join(repoPath, 'a_test.go'), path.join(repoPath, 'b', 'b_test.go')]);
 		await runTest(
-			{ isMod: true, includeSubDirectories: true, testFlags: ['-race'], applyCodeCoverage: true },
+			{ isMod: false, includeSubDirectories: true, testFlags: ['-race'], applyCodeCoverage: true },
 			[path.join(repoPath, 'a_test.go'), path.join(repoPath, 'b', 'b_test.go')]);
 		await runTest(
-			{ isMod: true, includeSubDirectories: false, testFlags: ['-v'] },
+			{ isMod: false, includeSubDirectories: false, testFlags: ['-v'] },
 			[path.join(repoPath, 'a_test.go')]);
 	});
 });