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 authored and Apache9 committed Aug 10, 2019
1 parent b7aeca3 commit a76855f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1162,14 +1162,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 a76855f

Please sign in to comment.