Skip to content

Commit

Permalink
Close response to avoid warning about leaked response (#2240)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit committed Feb 10, 2021
1 parent 8592d79 commit 845f758
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ abstract class AppServerTest extends SmokeTest {
.findAny()
.isPresent()

cleanup:
response?.close()

where:
[appServer, jdk] << getTestParams()
}
Expand Down Expand Up @@ -132,6 +135,9 @@ abstract class AppServerTest extends SmokeTest {
.findAny()
.isPresent()

cleanup:
response?.close()

where:
[appServer, jdk] << getTestParams()
}
Expand Down Expand Up @@ -171,6 +177,9 @@ abstract class AppServerTest extends SmokeTest {
.findAny()
.isPresent()

cleanup:
response?.close()

where:
[appServer, jdk] << getTestParams()
}
Expand Down Expand Up @@ -212,6 +221,9 @@ abstract class AppServerTest extends SmokeTest {
.findAny()
.isPresent()

cleanup:
response?.close()

where:
[appServer, jdk] << getTestParams()
}
Expand Down Expand Up @@ -256,6 +268,9 @@ abstract class AppServerTest extends SmokeTest {
.findAny()
.isPresent()

cleanup:
response?.close()

where:
[appServer, jdk] << getTestParams()
}
Expand Down Expand Up @@ -295,6 +310,9 @@ abstract class AppServerTest extends SmokeTest {
.findAny()
.isPresent()

cleanup:
response?.close()

where:
[appServer, jdk] << getTestParams()
}
Expand Down Expand Up @@ -341,6 +359,9 @@ abstract class AppServerTest extends SmokeTest {
.findAny()
.isPresent()

cleanup:
response?.close()

where:
[appServer, jdk] << getTestParams()
}
Expand Down

0 comments on commit 845f758

Please sign in to comment.