diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/client/TestQJMWithFaults.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/client/TestQJMWithFaults.java index 8ead48f6f8a..1999c00f5d9 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/client/TestQJMWithFaults.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/client/TestQJMWithFaults.java @@ -198,7 +198,7 @@ public class TestQJMWithFaults { public void testUnresolvableHostName() throws Exception { expectedException.expect(UnknownHostException.class); new QuorumJournalManager(conf, - new URI("qjournal://" + "bogus:12345" + "/" + JID), FAKE_NSINFO); + new URI("qjournal://" + "bogus.invalid:12345" + "/" + JID), FAKE_NSINFO); } /**