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
This commit is contained in:
Artem Bilan
2021-04-14 10:17:13 -04:00
parent 35fd9c5809
commit 1a288cd527

View File

@@ -97,7 +97,6 @@ public class ReactiveRedisStreamMessageProducerTests extends RedisAvailableTests
@After
public void tearDown() {
this.reactiveRedisStreamProducer.stop();
RedisAvailableRule.connectionFactory.resetConnection();
}
@Test