mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[maven] IDEA-357057 assertHasPendingProjectForReload: use awaitConfiguration() instead of assertWithinTimeout
GitOrigin-RevId: bc6a83ed30f8b223c00830d7987cf9c944ca08ed
This commit is contained in:
committed by
intellij-monorepo-bot
parent
00d7fce504
commit
f215f6d268
+2
-3
@@ -428,9 +428,8 @@ abstract class MavenImportingTestCase : MavenTestCase() {
|
||||
|
||||
protected suspend fun assertHasPendingProjectForReload() {
|
||||
assertAutoReloadIsEnabled()
|
||||
assertWithinTimeout(10) {
|
||||
assertTrue("Expected notification about pending projects for auto-reload", myNotificationAware!!.isNotificationVisible())
|
||||
}
|
||||
awaitConfiguration()
|
||||
assertTrue("Expected notification about pending projects for auto-reload", myNotificationAware!!.isNotificationVisible())
|
||||
assertNotEmpty(myNotificationAware!!.getProjectsWithNotification())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user