[rdct] XPlatLauncher java_home_test fix

GitOrigin-RevId: 47193a6a8371ca5350fcdf14ca4e9f642ea316bc
This commit is contained in:
Eugene Lazurin
2022-11-18 14:54:24 +00:00
committed by intellij-monorepo-bot
parent 7fc185917b
commit 1af62f15f8
+5
View File
@@ -81,6 +81,11 @@ fn prepare_test_env_impl(layout_kind: &LayoutSpec) -> Result<TestEnvironment> {
test_root_dir: temp_dir
};
// clean environment variables
env::remove_var("IU_JDK");
env::remove_var("JDK_HOME");
env::remove_var("JAVA_HOME");
Ok(result)
}