Duplicate resource name in integration tests caused client resource leak

This commit is contained in:
Oleg Kalnichevski 2019-12-21 10:04:20 +01:00
parent 35a63d3426
commit b34007dffd
5 changed files with 5 additions and 5 deletions

View File

@ -84,7 +84,7 @@ public abstract class AbstractHttp1IntegrationTestBase extends AbstractServerTes
};
@Rule
public ExternalResource clientResource = new ExternalResource() {
public ExternalResource clientBuilderResource = new ExternalResource() {
@Override
protected void before() throws Throwable {

View File

@ -89,7 +89,7 @@ public class TestHttp1Async extends AbstractHttpAsyncFundamentalsTest<CloseableH
};
@Rule
public ExternalResource clientResource = new ExternalResource() {
public ExternalResource clientBuilderResource = new ExternalResource() {
@Override
protected void before() throws Throwable {

View File

@ -110,7 +110,7 @@ public class TestHttp1AsyncRedirects extends AbstractHttpAsyncRedirectsTest<Clos
};
@Rule
public ExternalResource clientResource = new ExternalResource() {
public ExternalResource clientBuilderResource = new ExternalResource() {
@Override
protected void before() throws Throwable {

View File

@ -84,7 +84,7 @@ public class TestHttp1AsyncStatefulConnManagement extends AbstractIntegrationTes
};
@Rule
public ExternalResource clientResource = new ExternalResource() {
public ExternalResource clientBuilderResource = new ExternalResource() {
@Override
protected void before() throws Throwable {

View File

@ -100,7 +100,7 @@ public class TestHttp1ClientAuthentication extends AbstractHttpAsyncClientAuthen
};
@Rule
public ExternalResource clientResource = new ExternalResource() {
public ExternalResource clientBuilderResource = new ExternalResource() {
@Override
protected void before() throws Throwable {