This fixes a bug in the tests for parsing ipv4 addresses with leading zeros as octal numbers. The bug was in the expectation code that we use for random input ips. Closes #126496
@@ -191,6 +191,7 @@ public class ParseIpTests extends ESTestCase {
lastWasBreak = true;
b.append(current).append('.');
current = 0;
+ octalMode = false;
continue;
}
lastWasBreak = false;