Skip to content

Change tests URL #1961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ public void asyncOptionsTest() throws Throwable {
// Some responses contain the TRACE method, some do not - account for both
final String[] expected = {"GET", "HEAD", "OPTIONS", "POST"};
final String[] expectedWithTrace = {"GET", "HEAD", "OPTIONS", "POST", "TRACE"};
Future<String> f = client.prepareOptions("https://www.shieldblaze.com/").execute(new AsyncHandlerAdapter() {
Future<String> f = client.prepareOptions("https://www.google.com/").execute(new AsyncHandlerAdapter() {

@Override
public State onHeadersReceived(HttpHeaders headers) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void testNativeTransportWithEpollOnly() throws Exception {
AsyncHttpClientConfig config = config().setUseNativeTransport(true).setUseOnlyEpollNativeTransport(true).build();

try (DefaultAsyncHttpClient client = (DefaultAsyncHttpClient) asyncHttpClient(config)) {
assertDoesNotThrow(() -> client.prepareGet("https://www.shieldblaze.com").execute().get());
assertDoesNotThrow(() -> client.prepareGet("https://www.google.com").execute().get());
assertInstanceOf(EpollEventLoopGroup.class, client.channelManager().getEventLoopGroup());
}
}
Expand All @@ -60,7 +60,7 @@ public void testNativeTransportWithEpollOnly() throws Exception {
public void testNativeTransportWithoutEpollOnly() throws Exception {
AsyncHttpClientConfig config = config().setUseNativeTransport(true).setUseOnlyEpollNativeTransport(false).build();
try (DefaultAsyncHttpClient client = (DefaultAsyncHttpClient) asyncHttpClient(config)) {
assertDoesNotThrow(() -> client.prepareGet("https://www.shieldblaze.com").execute().get());
assertDoesNotThrow(() -> client.prepareGet("https://www.google.com").execute().get());
assertInstanceOf(IOUringEventLoopGroup.class, client.channelManager().getEventLoopGroup());
}
}
Expand All @@ -70,7 +70,7 @@ public void testNativeTransportWithoutEpollOnly() throws Exception {
public void testNativeTransportKQueueOnMacOs() throws Exception {
AsyncHttpClientConfig config = config().setUseNativeTransport(true).build();
try (DefaultAsyncHttpClient client = (DefaultAsyncHttpClient) asyncHttpClient(config)) {
assertDoesNotThrow(() -> client.prepareGet("https://www.shieldblaze.com").execute().get());
assertDoesNotThrow(() -> client.prepareGet("https://www.google.com").execute().get());
assertInstanceOf(KQueueEventLoopGroup.class, client.channelManager().getEventLoopGroup());
}
}
Expand Down