Skip to content

Commit 8172a42

Browse files
committed
more tests
1 parent 96e1c4d commit 8172a42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/transport-netty4/src/test/java/org/elasticsearch/http/netty4/Netty4EmptyChunkHandlerTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,10 @@ public void testKeepEncodingForNonEmpty() {
8585

8686
public void testRandomizedChannelReuse() {
8787
for (int i = 0; i < 1000; i++) {
88-
switch (between(0, 2)) {
88+
switch (between(0, 3)) {
8989
case 0 -> testNonChunkedPassthrough();
9090
case 1 -> testKeepEncodingForNonEmpty();
91+
case 2 -> testDecodingFailurePassthrough();
9192
default -> testRemoveEncodingFromEmpty();
9293
}
9394
}

0 commit comments

Comments
 (0)