@@ -1405,7 +1405,7 @@ public void onThrowable(Throwable t) {
1405
1405
}
1406
1406
};
1407
1407
1408
- client .prepareGet ("http://google.com/ " ).execute (handler );
1408
+ client .prepareGet ("http://www.lemonde.fr " ).execute (handler );
1409
1409
1410
1410
if (!l .await (TIMEOUT , TimeUnit .SECONDS )) {
1411
1411
Assert .fail ("Timed out" );
@@ -1433,7 +1433,7 @@ public Response onCompleted(Response response) throws Exception {
1433
1433
try {
1434
1434
if (nestedCount .getAndIncrement () < MAX_NESTED ) {
1435
1435
System .out .println ("Executing a nested request: " + nestedCount );
1436
- client .prepareGet ("http://google.com/ " ).execute (this );
1436
+ client .prepareGet ("http://www.lemonde.fr " ).execute (this );
1437
1437
}
1438
1438
} finally {
1439
1439
l .countDown ();
@@ -1447,7 +1447,7 @@ public void onThrowable(Throwable t) {
1447
1447
}
1448
1448
};
1449
1449
1450
- client .prepareGet ("http://www.google.com/ " ).execute (handler );
1450
+ client .prepareGet ("http://www.lemonde.fr " ).execute (handler );
1451
1451
1452
1452
if (!l .await (TIMEOUT , TimeUnit .SECONDS )) {
1453
1453
Assert .fail ("Timed out" );
@@ -1461,7 +1461,7 @@ public void onThrowable(Throwable t) {
1461
1461
public void asyncDoGetStreamAndBodyTest () throws Throwable {
1462
1462
final AsyncHttpClient client = getAsyncHttpClient (null );
1463
1463
try {
1464
- Response response = client .prepareGet ("http://www.google.com/ " ).execute ().get ();
1464
+ Response response = client .prepareGet ("http://www.lemonde.fr " ).execute ().get ();
1465
1465
assertEquals (response .getStatusCode (), 200 );
1466
1466
} finally {
1467
1467
client .close ();
@@ -1472,7 +1472,7 @@ public void asyncDoGetStreamAndBodyTest() throws Throwable {
1472
1472
public void asyncUrlWithoutPathTest () throws Throwable {
1473
1473
final AsyncHttpClient client = getAsyncHttpClient (null );
1474
1474
try {
1475
- Response response = client .prepareGet ("http://www.google.com " ).execute ().get ();
1475
+ Response response = client .prepareGet ("http://www.lemonde.fr " ).execute ().get ();
1476
1476
assertEquals (response .getStatusCode (), 200 );
1477
1477
} finally {
1478
1478
client .close ();
0 commit comments