An attempt to fix flaky debugger tests

This commit is contained in:
Yan Zhulanow
2019-10-16 20:54:09 +09:00
parent bf027fb824
commit 1309c0c67a
@@ -16,6 +16,7 @@ import com.intellij.openapi.roots.OrderRootType
import com.intellij.openapi.roots.ui.configuration.libraryEditor.NewLibraryEditor import com.intellij.openapi.roots.ui.configuration.libraryEditor.NewLibraryEditor
import com.intellij.openapi.util.ThrowableComputable import com.intellij.openapi.util.ThrowableComputable
import com.intellij.openapi.util.io.FileUtil import com.intellij.openapi.util.io.FileUtil
import com.intellij.openapi.vfs.LocalFileSystem
import com.intellij.openapi.vfs.VfsUtil import com.intellij.openapi.vfs.VfsUtil
import com.intellij.psi.PsiFile import com.intellij.psi.PsiFile
import com.intellij.testFramework.EdtTestUtil import com.intellij.testFramework.EdtTestUtil
@@ -150,6 +151,7 @@ abstract class KotlinDescriptorTestCase : DescriptorTestCase() {
} }
override fun setUpProject() { override fun setUpProject() {
LocalFileSystem.getInstance().refreshAndFindFileByIoFile(File(appDataPath))
super.setUpProject() super.setUpProject()
File(appOutputPath).mkdirs() File(appOutputPath).mkdirs()
} }