Skip to content

Commit 0fba1a8

Browse files
author
Stephane Landelle
committed
Fix test
1 parent 0faeb28 commit 0fba1a8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@ public void onThrowable(Throwable t) {
14051405
}
14061406
};
14071407

1408-
client.prepareGet("http://www.lemonde.fr").execute(handler);
1408+
client.prepareGet("http://www.google.com").execute(handler);
14091409

14101410
if (!l.await(TIMEOUT, TimeUnit.SECONDS)) {
14111411
Assert.fail("Timed out");
@@ -1419,6 +1419,7 @@ public void onThrowable(Throwable t) {
14191419
public void asyncDoGetNestedTest() throws Throwable {
14201420
final AsyncHttpClient client = getAsyncHttpClient(null);
14211421
try {
1422+
// FIXME find a proper website that redirects the same number of times whatever the language
14221423
// Use a l in case the assert fail
14231424
final CountDownLatch l = new CountDownLatch(2);
14241425

providers/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</build>
4545

4646
<modules>
47-
<!-- <module>grizzly</module> -->
47+
<module>grizzly</module>
4848
<module>netty</module>
4949
<!-- <module>netty4</module> -->
5050
</modules>

0 commit comments

Comments
 (0)