diff --git a/integrationtest/mapper/orm-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT.java b/integrationtest/mapper/orm-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT.java index 6dea0553975..3c87f612139 100644 --- a/integrationtest/mapper/orm-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT.java +++ b/integrationtest/mapper/orm-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT.java @@ -130,6 +130,9 @@ private void createEntitiesToIndex(SessionFactory sessionFactory, int entityCoun backendMock.expectWorks( IndexedEntity.NAME ) .add( String.valueOf( i ), b -> b.field( "text", "initial" ) ); } + + // The filter is there to make sure we don't consume all events while we're creating them, + // which apparently can happen on Windows. eventFilter.showAllEvents(); }