From c6a9c4d2bd3c0969b13ac9f01d6637dd566aac57 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Thu, 21 Dec 2017 20:13:23 +0100 Subject: [PATCH] Use 198.51.100.254 as BAD_HOST for tests. Motivation: At the moment we use netty.io as BAD_HOST with an port that we know is timing out. This may change in the future so we should better use 198.51.100.254 which is specified as "for documentation only". Modifications: Replace netty.io with 198.51.100.254 in tests that depend on BAD_HOST. Result: More future proof code. --- .../netty/testsuite/transport/socket/SocketTestPermutation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java index 7e2488b42e..a6cb540ca5 100644 --- a/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java +++ b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketTestPermutation.java @@ -44,7 +44,7 @@ import java.util.List; public class SocketTestPermutation { - static final String BAD_HOST = SystemPropertyUtil.get("io.netty.testsuite.badHost", "netty.io"); + static final String BAD_HOST = SystemPropertyUtil.get("io.netty.testsuite.badHost", "198.51.100.254"); static final int BAD_PORT = SystemPropertyUtil.getInt("io.netty.testsuite.badPort", 65535); static {