Skip to content

Commit

Permalink
Fix Hive test when using non-default schema
Browse files Browse the repository at this point in the history
  • Loading branch information
electrum committed Dec 28, 2017
1 parent 5c21acb commit fea3e63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ public void testGetPartitionSplitsTableNotReadablePartition()
fail("Expected HiveNotReadableException");
}
catch (HiveNotReadableException e) {
assertEquals(e.getMessage(), "Table 'default.presto_test_not_readable' is not readable: reason for not readable");
assertThat(e).hasMessageMatching("Table '.*\\.presto_test_not_readable' is not readable: reason for not readable");
assertEquals(e.getTableName(), tableNotReadable);
assertEquals(e.getPartition(), Optional.empty());
}
Expand Down

0 comments on commit fea3e63

Please sign in to comment.