Skip to content

Commit

Permalink
Mark method as alwaysRun when closing TestingMySqlServer
Browse files Browse the repository at this point in the history
  • Loading branch information
caithagoras0 committed Aug 23, 2019
1 parent 8492bfa commit f1bbb82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public void setup()
insertSourceQuery(handle, SUITE, "query_2", "SELECT * FROM table1 CROSS JOIN table2");
}

@AfterClass
public void teardown()
@AfterClass(alwaysRun = true)
public void destroy()
{
closeQuietly(queryRunner, mySqlServer, handle);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public void setup()
.setTableName(VERIFIER_QUERIES_TABLE);
}

@AfterClass
public void teardown()
@AfterClass(alwaysRun = true)
public void destroy()
{
closeQuietly(mySqlServer, handle);
}
Expand Down

0 comments on commit f1bbb82

Please sign in to comment.