Skip to content

Commit

Permalink
SocketTimeoutException ErrorMsg case fix (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishq-chugh authored Jul 3, 2024
1 parent 042a5c9 commit 6308e1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void testConnectionTimeout() throws Exception {
try(HiveMetaStoreClient c = new HiveMetaStoreClient(newConf)) {
Assert.fail("should throw connection timeout exception.");
} catch (MetaException e) {
Assert.assertTrue("unexpected Exception", e.getMessage().contains("connect timed out"));
Assert.assertTrue("unexpected Exception", e.getMessage().toLowerCase().contains("connect timed out"));
}
return null;
});
Expand Down

0 comments on commit 6308e1b

Please sign in to comment.