mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[performance-tests] start waiting for indexing only is it was scheduled
GitOrigin-RevId: 1227ed98a20bfe81920df66286bc4f317f0ec8aa
This commit is contained in:
committed by
intellij-monorepo-bot
parent
72df3f6680
commit
7d1b435e92
+1
-1
@@ -45,7 +45,7 @@ class WaitVcsLogIndexingCommand(text: String, line: Int) : PerformanceCommandCor
|
||||
LOG.info("Need indexing = ${vcsIndex.needIndexing()}, " +
|
||||
"is indexing scheduled = ${vcsIndex.isIndexingScheduled()}, " +
|
||||
"is indexing paused = ${vcsIndex.isIndexingPaused()}")
|
||||
if (vcsIndex.needIndexing()) {
|
||||
if (vcsIndex.isIndexingScheduled()) {
|
||||
val isIndexingCompleted = CompletableDeferred<Boolean>()
|
||||
vcsIndex.addListener { _ ->
|
||||
LOG.info("$NAME command was completed due to indexing was finished after listener invocation")
|
||||
|
||||
Reference in New Issue
Block a user