Skip to content

Commit ff853f6

Browse files
committed
Wait a little bit longer.
1 parent 3d73ba4 commit ff853f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/redis/RedisMessageListenerIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static void stopRedisServer() throws IOException {
4646
public void testOnMessage() throws Exception {
4747
String message = "Message " + UUID.randomUUID();
4848
redisMessagePublisher.publish(message);
49-
Thread.sleep(100);
49+
Thread.sleep(1000);
5050
assertTrue(RedisMessageSubscriber.messageList.get(0).contains(message));
5151
}
5252
}

0 commit comments

Comments
 (0)