diff --git a/core/src/test/java/org/elasticsearch/transport/TCPTransportTests.java b/core/src/test/java/org/elasticsearch/transport/TCPTransportTests.java index 6ce6c2a96d6..84bc377baca 100644 --- a/core/src/test/java/org/elasticsearch/transport/TCPTransportTests.java +++ b/core/src/test/java/org/elasticsearch/transport/TCPTransportTests.java @@ -158,16 +158,16 @@ public class TCPTransportTests extends ESTestCase { TcpTransport.ensureVersionCompatibility(Version.fromString("5.0.0"), Version.fromString("6.0.0"), true); IllegalStateException ise = expectThrows(IllegalStateException.class, () -> TcpTransport.ensureVersionCompatibility(Version.fromString("5.0.0"), Version.fromString("6.0.0"), false)); - assertEquals("Received message from unsupported version: [5.0.0] minimal compatible version is: [5.4.0]", ise.getMessage()); + assertEquals("Received message from unsupported version: [5.0.0] minimal compatible version is: [5.5.0]", ise.getMessage()); ise = expectThrows(IllegalStateException.class, () -> TcpTransport.ensureVersionCompatibility(Version.fromString("2.3.0"), Version.fromString("6.0.0"), true)); - assertEquals("Received handshake message from unsupported version: [2.3.0] minimal compatible version is: [5.4.0]", + assertEquals("Received handshake message from unsupported version: [2.3.0] minimal compatible version is: [5.5.0]", ise.getMessage()); ise = expectThrows(IllegalStateException.class, () -> TcpTransport.ensureVersionCompatibility(Version.fromString("2.3.0"), Version.fromString("6.0.0"), false)); - assertEquals("Received message from unsupported version: [2.3.0] minimal compatible version is: [5.4.0]", + assertEquals("Received message from unsupported version: [2.3.0] minimal compatible version is: [5.5.0]", ise.getMessage()); }