Remove internal jdk to fix flaky MavenUpdateConfigurationQuickFixTest
This commit is contained in:
@@ -85,6 +85,7 @@ public abstract class MavenImportingTestCase extends MavenTestCase {
|
|||||||
@Override
|
@Override
|
||||||
protected void tearDown() throws Exception {
|
protected void tearDown() throws Exception {
|
||||||
try {
|
try {
|
||||||
|
JavaAwareProjectJdkTableImpl.removeInternalJdkInTests();
|
||||||
if (myGlobalSettingsFile != null) {
|
if (myGlobalSettingsFile != null) {
|
||||||
VfsRootAccess.disallowRootAccess(myGlobalSettingsFile.getAbsolutePath());
|
VfsRootAccess.disallowRootAccess(myGlobalSettingsFile.getAbsolutePath());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ public abstract class MavenImportingTestCase extends MavenTestCase {
|
|||||||
@Override
|
@Override
|
||||||
protected void tearDown() throws Exception {
|
protected void tearDown() throws Exception {
|
||||||
try {
|
try {
|
||||||
|
JavaAwareProjectJdkTableImpl.removeInternalJdkInTests();
|
||||||
if (myGlobalSettingsFile != null) {
|
if (myGlobalSettingsFile != null) {
|
||||||
VfsRootAccess.disallowRootAccess(myGlobalSettingsFile.getAbsolutePath());
|
VfsRootAccess.disallowRootAccess(myGlobalSettingsFile.getAbsolutePath());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user