Skip to content

Commit 035bfdf

Browse files
committed
Test http server requests in parallel
1 parent 148aef9 commit 035bfdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dd-java-agent/testing/src/main/groovy/datadog/trace/agent/test/base/HttpServerTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ abstract class HttpServerTest<SERVER> extends WithHttpServer<SERVER> {
529529
def "test success with #count requests"() {
530530
setup:
531531
def request = request(SUCCESS, method, body).build()
532-
List<Response> responses = (1..count).collect {
532+
List<Response> responses = (1..count).parallelStream().collect {
533533
return client.newCall(request).execute()
534534
}
535535
if (isDataStreamsEnabled()) {

0 commit comments

Comments
 (0)