We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e662afe commit e8645f5Copy full SHA for e8645f5
projects/kediatr-core/src/testFixtures/kotlin/com/trendyol/kediatr/testing/MediatorUseCases.kt
@@ -510,7 +510,7 @@ abstract class MediatorUseCases : MediatorTestConvention() {
510
val executionTime = endTime - startTime
511
512
// Should wait for all handlers (longest one takes 100ms)
513
- notification.invocationCount().get() shouldBeGreaterThanOrEqual 2 // At least 2 handlers should be invoked
+ notification.invocationCount().get() shouldBeGreaterThanOrEqual 1
514
notification.threadIds().size shouldBeGreaterThan 0
515
executionTime shouldBeGreaterThan 80L // Allow some variance but should be close to 100ms
516
}
0 commit comments