Skip to content

Commit

Permalink
Should close admin in afterEach() in the repair integration tests (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
brfrn169 committed Dec 26, 2022
1 parent 13acd02 commit f1cf367
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,11 @@ protected void beforeEach() throws Exception {
@AfterEach
protected void afterEach() throws Exception {
dropTable();
admin.close();
}

@AfterAll
protected void afterAll() throws Exception {
admin.close();
}
protected void afterAll() throws Exception {}

@Test
public void repairTable_ForDeletedMetadataTable_ShouldRepairProperly() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,11 @@ protected void beforeEach() throws Exception {
@AfterEach
protected void afterEach() throws Exception {
dropTable();
admin.close();
}

@AfterAll
protected void afterAll() throws Exception {
admin.close();
}
protected void afterAll() throws Exception {}

@Test
public void repairTableAndCoordinatorTable_ForDeletedMetadataTable_ShouldRepairProperly()
Expand Down

0 comments on commit f1cf367

Please sign in to comment.