Skip to content

Commit 292b9c0

Browse files
committed
Fix container name in CI workflow
1 parent 04ddc33 commit 292b9c0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/test-supported-java-versions-main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ jobs:
4141
run: ./mvnw --version
4242
- name: Test with Netty
4343
run: |
44-
./mvnw verify -Dio.layer=netty -Drabbitmqctl.bin=DOCKER:rabbitmq0 \
45-
-Dtest-broker.A.nodename=rabbit@node0 -Dtest-broker.B.nodename=rabbit@node1 \
44+
./mvnw verify -Dio.layer=netty -Drabbitmqctl.bin=DOCKER:rabbitmq \
45+
-Dtest-broker.A.nodename=rabbit@$(hostname) -Dmaven.javadoc.skip=true \
4646
-Dca.certificate=./tls-gen/basic/result/ca_certificate.pem \
4747
-Dclient.certificate=./tls-gen/basic/result/client_$(hostname)_certificate.pem \
48-
-Dmaven.javadoc.skip=true \
48+
-Dit.test=ClientTestSuite,FunctionalTestSuite,ServerTestSuite,SslTestSuite \
4949
--no-transfer-progress \
5050
-Dnet.bytebuddy.experimental=true
5151
- name: Stop broker

src/main/java/com/rabbitmq/client/impl/Utils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import io.netty.buffer.ByteBufAllocator;
2020
import io.netty.channel.EventLoopGroup;
2121
import io.netty.channel.MultiThreadIoEventLoopGroup;
22-
import io.netty.channel.nio.NioEventLoopGroup;
2322
import io.netty.channel.nio.NioIoHandler;
2423

2524
import java.util.function.Consumer;
@@ -58,7 +57,7 @@ static EventLoopGroup eventLoopGroup() {
5857
if (IS_NETTY_4_2) {
5958
return new MultiThreadIoEventLoopGroup(NioIoHandler.newFactory());
6059
} else {
61-
return new NioEventLoopGroup();
60+
return new io.netty.channel.nio.NioEventLoopGroup();
6261
}
6362
}
6463

0 commit comments

Comments
 (0)