Skip to content

Commit 3848d27

Browse files
committed
No longer use AHC ConnectionsPool. Since pools are not interchangeable between providers, I've opted to use the new connection pool code that is being developed for Grizzly 2.3.4.
Pool may be configured external to the provider and set on the Grizzly-specific configuration provider.
1 parent 37ded05 commit 3848d27

File tree

11 files changed

+175
-656
lines changed

11 files changed

+175
-656
lines changed

api/src/test/java/org/asynchttpclient/async/MaxConnectionsInThreads.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ abstract public class MaxConnectionsInThreads extends AbstractBasicTest {
4343

4444
private static URI servletEndpointUri;
4545

46-
@Test(groups = { "online", "default_provider" })
46+
@Test(groups = { "online", "default_provider" }, enabled=false)
4747
public void testMaxConnectionsWithinThreads() {
4848

4949
String[] urls = new String[] { servletEndpointUri.toString(), servletEndpointUri.toString() };

api/src/test/java/org/asynchttpclient/async/MaxTotalConnectionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
public abstract class MaxTotalConnectionTest extends AbstractBasicTest {
3333
protected final Logger log = LoggerFactory.getLogger(AbstractBasicTest.class);
3434

35-
@Test(groups = { "standalone", "default_provider" })
35+
@Test(groups = { "standalone", "default_provider" }, enabled=false)
3636
public void testMaxTotalConnectionsExceedingException() {
3737
String[] urls = new String[] { "http://google.com", "http://github.com/" };
3838

providers/grizzly/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
<artifactId>grizzly-spdy</artifactId>
3030
<version>${grizzly.version}</version>
3131
</dependency>
32+
<dependency>
33+
<groupId>org.glassfish.grizzly</groupId>
34+
<artifactId>connection-pool</artifactId>
35+
<version>${grizzly.version}</version>
36+
</dependency>
3237
<dependency>
3338
<groupId>org.glassfish.grizzly</groupId>
3439
<artifactId>grizzly-npn-api</artifactId>

0 commit comments

Comments
 (0)