Skip to content

Commit

Permalink
Update to vertx transport change
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Oct 24, 2024
1 parent 7afe0dd commit 5c54a05
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

import examples.GreeterGrpc;
import io.vertx.core.*;
import io.vertx.core.impl.VertxBootstrapImpl;
import io.vertx.core.spi.transport.Transport;
import io.vertx.core.transport.Transport;
import io.vertx.ext.unit.TestContext;
import io.vertx.ext.unit.junit.VertxUnitRunner;
import io.vertx.grpc.VertxServerBuilder;
Expand Down Expand Up @@ -41,7 +40,7 @@ private void testInternal(TestContext ctx, Vertx vertx) {
}

private void assumeNativeTransport() {
Transport nativeTransport = VertxBootstrapImpl.nativeTransport();
Assume.assumeTrue(nativeTransport != null && nativeTransport.isAvailable());
Transport nativeTransport = Transport.nativeTransport();
Assume.assumeTrue(nativeTransport != null && nativeTransport.available());
}
}

0 comments on commit 5c54a05

Please sign in to comment.