Skip to content

Commit

Permalink
HBASE-22382 Refactor tests in TestFromClientSide; ADDENDUM to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saintstack committed Jul 26, 2019
1 parent 3708198 commit fa77c75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1155,14 +1155,14 @@ public void testSingleRowMultipleFamily() throws Exception {
}
}

@Test(expected = IOException.class)
@Test(expected = NullPointerException.class)
public void testNullTableName() throws IOException {
// Null table name (should NOT work)
TEST_UTIL.createTable((TableName)null, FAMILY);
fail("Creating a table with null name passed, should have failed");
}

@Test(expected = IOException.class)
@Test(expected = IllegalArgumentException.class)
public void testNullFamilyName() throws IOException {
final TableName tableName = TableName.valueOf(name.getMethodName());

Expand Down

0 comments on commit fa77c75

Please sign in to comment.