Skip to content

Commit

Permalink
[UNDERTOW-1919] Add @after annotation to ParseTimeoutTestCase.after()
Browse files Browse the repository at this point in the history
  • Loading branch information
fl4via committed Jul 19, 2021
1 parent 522ff4b commit 8f51b19
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import io.undertow.testutils.DefaultServer;
import io.undertow.testutils.HttpOneOnly;
import io.undertow.testutils.ProxyIgnore;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
Expand Down Expand Up @@ -54,6 +55,7 @@ public void before() throws Exception {
clientInputStream = client.getInputStream();
}

@After
public void after() throws Exception {
IoUtils.safeClose(client);
DefaultServer.setUndertowOptions(OptionMap.EMPTY);
Expand Down

0 comments on commit 8f51b19

Please sign in to comment.