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 c6e9fb7aa0..e9f46e335c 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 void testRecoverAfterDoubleFailures() throws Exception { 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); } /**