Skip to content

Commit 1a288cd

Browse files
committed
Remove resetConnection from Redis Reactive test
Related to https://build.spring.io/browse/INT-SONAR-3564 When we reset shared Redis connection between tests, it may lead to a dead lock on some async command in process when the next test initiate a new connection * Remove `resetConnection()` from the `ReactiveRedisStreamMessageProducerTests` `@After` - looks like it doesn't effect anything in a whole test suite
1 parent 35fd9c5 commit 1a288cd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spring-integration-redis/src/test/java/org/springframework/integration/redis/inbound/ReactiveRedisStreamMessageProducerTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ public void delKey() {
9797
@After
9898
public void tearDown() {
9999
this.reactiveRedisStreamProducer.stop();
100-
RedisAvailableRule.connectionFactory.resetConnection();
101100
}
102101

103102
@Test

0 commit comments

Comments
 (0)