Remove internal jdk to fix flaky MavenUpdateConfigurationQuickFixTest

This commit is contained in:
Nikolay Krasko
2019-07-16 00:26:20 +03:00
parent 6176373713
commit d3bc2ec855
2 changed files with 2 additions and 0 deletions
@@ -85,6 +85,7 @@ public abstract class MavenImportingTestCase extends MavenTestCase {
@Override
protected void tearDown() throws Exception {
try {
JavaAwareProjectJdkTableImpl.removeInternalJdkInTests();
if (myGlobalSettingsFile != null) {
VfsRootAccess.disallowRootAccess(myGlobalSettingsFile.getAbsolutePath());
}
@@ -86,6 +86,7 @@ public abstract class MavenImportingTestCase extends MavenTestCase {
@Override
protected void tearDown() throws Exception {
try {
JavaAwareProjectJdkTableImpl.removeInternalJdkInTests();
if (myGlobalSettingsFile != null) {
VfsRootAccess.disallowRootAccess(myGlobalSettingsFile.getAbsolutePath());
}