Skip to content

Commit 27b8fd7

Browse files
authored
Rename testTransportRoundTripsWithTwoDigitFractions (#123160)
1 parent 061c0ca commit 27b8fd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/test/java/org/elasticsearch/common/unit/ByteSizeValueTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,10 +538,11 @@ public void testBWCTransportFormat() throws IOException {
538538
}
539539
}
540540

541-
public void testTwoDigitTransportRoundTrips() throws IOException {
541+
public void testTransportRoundTripsWithTwoDigitFractions() throws IOException {
542542
for (var tv : List.of(TransportVersion.current(), BYTE_SIZE_VALUE_ALWAYS_USES_BYTES, BYTE_SIZE_VALUE_ALWAYS_USES_BYTES_90)) {
543543
for (var desiredUnit : ByteSizeUnit.values()) {
544544
if (desiredUnit == ByteSizeUnit.BYTES) {
545+
// Can't have a fraction of a byte!
545546
continue;
546547
}
547548
checkTransportRoundTrip(ByteSizeValue.parseBytesSizeValue("23" + desiredUnit.getSuffix(), "test"), tv);

0 commit comments

Comments
 (0)