Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 55a7259

Browse files
Change tests URL (#1961)
1 parent e3cb7fe commit 55a7259

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎client/src/test/java/org/asynchttpclient/AsyncStreamHandlerTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ public void asyncOptionsTest() throws Throwable {
441441
// Some responses contain the TRACE method, some do not - account for both
442442
final String[] expected = {"GET", "HEAD", "OPTIONS", "POST"};
443443
final String[] expectedWithTrace = {"GET", "HEAD", "OPTIONS", "POST", "TRACE"};
444-
Future<String> f = client.prepareOptions("https://www.shieldblaze.com/").execute(new AsyncHandlerAdapter() {
444+
Future<String> f = client.prepareOptions("https://www.google.com/").execute(new AsyncHandlerAdapter() {
445445

446446
@Override
447447
public State onHeadersReceived(HttpHeaders headers) {

‎client/src/test/java/org/asynchttpclient/DefaultAsyncHttpClientTest.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void testNativeTransportWithEpollOnly() throws Exception {
5050
AsyncHttpClientConfig config = config().setUseNativeTransport(true).setUseOnlyEpollNativeTransport(true).build();
5151

5252
try (DefaultAsyncHttpClient client = (DefaultAsyncHttpClient) asyncHttpClient(config)) {
53-
assertDoesNotThrow(() -> client.prepareGet("https://www.shieldblaze.com").execute().get());
53+
assertDoesNotThrow(() -> client.prepareGet("https://www.google.com").execute().get());
5454
assertInstanceOf(EpollEventLoopGroup.class, client.channelManager().getEventLoopGroup());
5555
}
5656
}
@@ -60,7 +60,7 @@ public void testNativeTransportWithEpollOnly() throws Exception {
6060
public void testNativeTransportWithoutEpollOnly() throws Exception {
6161
AsyncHttpClientConfig config = config().setUseNativeTransport(true).setUseOnlyEpollNativeTransport(false).build();
6262
try (DefaultAsyncHttpClient client = (DefaultAsyncHttpClient) asyncHttpClient(config)) {
63-
assertDoesNotThrow(() -> client.prepareGet("https://www.shieldblaze.com").execute().get());
63+
assertDoesNotThrow(() -> client.prepareGet("https://www.google.com").execute().get());
6464
assertInstanceOf(IOUringEventLoopGroup.class, client.channelManager().getEventLoopGroup());
6565
}
6666
}
@@ -70,7 +70,7 @@ public void testNativeTransportWithoutEpollOnly() throws Exception {
7070
public void testNativeTransportKQueueOnMacOs() throws Exception {
7171
AsyncHttpClientConfig config = config().setUseNativeTransport(true).build();
7272
try (DefaultAsyncHttpClient client = (DefaultAsyncHttpClient) asyncHttpClient(config)) {
73-
assertDoesNotThrow(() -> client.prepareGet("https://www.shieldblaze.com").execute().get());
73+
assertDoesNotThrow(() -> client.prepareGet("https://www.google.com").execute().get());
7474
assertInstanceOf(KQueueEventLoopGroup.class, client.channelManager().getEventLoopGroup());
7575
}
7676
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /