test/runTest: add --force-disable-user-env

As explained in https://github.com/microsoft/vscode/issues/115794#issuecomment-774283222
VS Code 1.53 finds the shell and initializes the environment
based on the users' bashrc or shell profile rather than simply
inheriting the environments from the parent process.

Our CI runs as the default user of the node docker container
which has a shell environment (with the system default PATH).
As a result, VS Code in test started to run with the system
default PATH instead of the PATH we set from the container
or the test runner script.

Disable this VS Code's new behavior and let the test use
the environment variables we set up for the test.

Remove the temporary fix (https://golang.org/cl/289770).

Fixes #1190

Change-Id: I84c0580237a3340025cb1e3f776c566841a4a0d2
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/290370
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
diff --git a/test/runTest.ts b/test/runTest.ts
index dd42247..60d9601 100644
--- a/test/runTest.ts
+++ b/test/runTest.ts
@@ -18,13 +18,14 @@
 
 		// Download VS Code, unzip it and run the integration test
 		await runTests({
-			version: '1.52.1',
 			extensionDevelopmentPath,
 			extensionTestsPath,
 			launchArgs: [
 				'--disable-extensions',
 				'--user-data-dir=${workspaceFolder}/.user-data-dir-test',
-			],  // disable all other extensions
+				// https://github.com/microsoft/vscode/issues/115794#issuecomment-774283222
+				'--force-disable-user-env'
+			],
 		});
 	} catch (err) {
 		console.error('Failed to run integration tests' + err);
@@ -37,12 +38,13 @@
 		// tslint:disable-next-line:max-line-length
 		// https://github.com/microsoft/vscode/blob/890f62dfd9f3e70198931f788c5c332b3e8b7ad7/src/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.ts#L281
 		await runTests({
-			version: '1.52.1',
 			extensionDevelopmentPath,
 			extensionTestsPath: path.resolve(__dirname, './gopls/index'),
 			launchArgs: [
 				'--disable-extensions',  // disable all other extensions
 				'--user-data-dir=${workspaceFolder}/.user-data-dir-test',
+				// https://github.com/microsoft/vscode/issues/115794#issuecomment-774283222
+				'--force-disable-user-env'
 			],
 		});
 	} catch (err) {