Skip to content

Commit

Permalink
Update to executeBlocking API change
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Jul 19, 2023
1 parent bd32f71 commit 56a568e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/io/vertx/test/redis/RedisClusterClientIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public RedisClusterClientIT(String image, String password) {
@Before
public void before(TestContext should) {
final Async before = should.async();
rule.vertx().executeBlocking(handler -> {
rule.vertx().executeBlocking(() -> {
List<GenericContainer<?>> containerList = new ArrayList<>();
containerList.add(redis7000);
containerList.add(redis7001);
Expand All @@ -123,7 +123,7 @@ public void before(TestContext should) {
String connectionString = stringBuilder.substring(0, stringBuilder.length() - 1);
redisCli.setCommand(String.format("redis-cli --cluster create %s --cluster-replicas 1 --cluster-yes%s", connectionString, password == null ? "" : " -a " + password));
redisCli.start();
handler.complete();
return null;
}).onSuccess(handler -> {
client = Redis.createClient(
rule.vertx(), new RedisOptions()
Expand Down

0 comments on commit 56a568e

Please sign in to comment.