diff --git a/platform/external-system-impl/testSrc/com/intellij/openapi/externalSystem/test/ExternalSystemTestCase.java b/platform/external-system-impl/testSrc/com/intellij/openapi/externalSystem/test/ExternalSystemTestCase.java index b3c8a46547cf..7fc8042da87d 100644 --- a/platform/external-system-impl/testSrc/com/intellij/openapi/externalSystem/test/ExternalSystemTestCase.java +++ b/platform/external-system-impl/testSrc/com/intellij/openapi/externalSystem/test/ExternalSystemTestCase.java @@ -157,8 +157,8 @@ public abstract class ExternalSystemTestCase extends UsefulTestCase { @Override public void tearDown() throws Exception { new RunAll( - () -> EdtTestUtil.runInEdtAndWait(() -> tearDownFixtures()), () -> PathKt.delete(ProjectUtil.getExternalConfigurationDir(myProject)), + () -> EdtTestUtil.runInEdtAndWait(() -> tearDownFixtures()), () -> myProject = null, () -> PathKt.delete(myTestDir.toPath()), () -> super.tearDown(),