mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[maven] IDEA-381950 awaitConfiguration() after sync in tests
GitOrigin-RevId: 9bb6f57d2b1993a7734a7a0cddff91bc329a0d8d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b026036e33
commit
3fbdcb06c6
+2
-1
@@ -379,11 +379,11 @@ abstract class MavenImportingTestCase : MavenTestCase() {
|
||||
}
|
||||
|
||||
protected open suspend fun importProjectsAsync(files: List<VirtualFile>) {
|
||||
|
||||
initProjectsManager(false)
|
||||
projectsManager.addManagedFilesWithProfiles(files, MavenExplicitProfiles.NONE, null, null, true)
|
||||
|
||||
IndexingTestUtil.suspendUntilIndexesAreReady(project)
|
||||
awaitConfiguration()
|
||||
}
|
||||
|
||||
protected fun importProjectWithProfiles(vararg profiles: String) {
|
||||
@@ -419,6 +419,7 @@ abstract class MavenImportingTestCase : MavenTestCase() {
|
||||
}
|
||||
}
|
||||
IndexingTestUtil.waitUntilIndexesAreReady(project);
|
||||
runBlockingMaybeCancellable { awaitConfiguration() }
|
||||
}
|
||||
|
||||
protected suspend fun doImportProjectsAsync(files: List<VirtualFile>, failOnReadingError: Boolean, vararg profiles: String) {
|
||||
|
||||
Reference in New Issue
Block a user