Skip to content

Commit

Permalink
OF-2611: Clean up test teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
guusdk committed Jul 20, 2023
1 parent d1460ef commit e376e0e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public void tearDown() throws Exception
DNSUtil.setDnsOverride(null);

if (remoteInitiatingServerDummy != null) {
//remoteInitiatingServerDummy.close();
remoteInitiatingServerDummy.disconnect();
remoteInitiatingServerDummy = null;
}

Expand Down Expand Up @@ -294,7 +294,6 @@ public void incomingTest(final ServerSettings localServerSettings, final ServerS
} finally {
// Teardown test fixture.
trustStore.delete("unit-test");
remoteInitiatingServerDummy.disconnect();
}
}

Expand Down

0 comments on commit e376e0e

Please sign in to comment.