Skip to content

Commit

Permalink
Use max pool size of 1 for shared server round robin tests as it work…
Browse files Browse the repository at this point in the history
…s better for the client for native OSX tests
  • Loading branch information
vietj committed Aug 7, 2023
1 parent b887c5c commit 24b7b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/io/vertx/core/http/Http1xTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1642,7 +1642,7 @@ public void testClientWebSocketIdleTimeout() {
public void testSharedServersRoundRobin() throws Exception {
client.close();
server.close();
client = vertx.createHttpClient(createBaseClientOptions().setKeepAlive(false));
client = vertx.createHttpClient(createBaseClientOptions().setMaxPoolSize(1).setKeepAlive(false));
int numServers = VertxOptions.DEFAULT_EVENT_LOOP_POOL_SIZE / 2- 1;
int numRequests = numServers * 100;

Expand Down

0 comments on commit 24b7b7f

Please sign in to comment.