Skip to content

Commit

Permalink
JdbcFailedPoolTest: reset the staticGetXAConnectionException after te…
Browse files Browse the repository at this point in the history
…sts.
  • Loading branch information
marcus-nl committed Aug 24, 2013
1 parent b35c69a commit 375c949
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions btm/src/test/java/bitronix/tm/JdbcFailedPoolTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ protected void setUp() throws Exception {
protected void tearDown() throws Exception {
TransactionManagerServices.getJournal().close();
TransactionManagerServices.getTaskScheduler().shutdown();

MockitoXADataSource.setStaticGetXAConnectionException(null);
}

public void testAcquiringConnectionAfterRecoveryDoesNotMarkAsFailed() throws Exception {
Expand Down

0 comments on commit 375c949

Please sign in to comment.