Skip to content

Commit

Permalink
fix: lower engine concurrency to closer to what it was when test was …
Browse files Browse the repository at this point in the history
…written to fix windows issue
  • Loading branch information
aajtodd committed Aug 22, 2023
1 parent 0e94172 commit 7c7c263
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import aws.smithy.kotlin.runtime.http.readAll
import aws.smithy.kotlin.runtime.http.request.HttpRequest
import aws.smithy.kotlin.runtime.http.response.complete
import aws.smithy.kotlin.runtime.http.test.util.AbstractEngineTest
import aws.smithy.kotlin.runtime.http.test.util.engineConfig
import aws.smithy.kotlin.runtime.http.test.util.test
import aws.smithy.kotlin.runtime.http.test.util.testSetup
import kotlinx.coroutines.*
Expand All @@ -22,6 +23,9 @@ class AsyncStressTest : AbstractEngineTest() {
fun testConcurrentRequests() = testEngines {
// https://github.com/awslabs/aws-sdk-kotlin/issues/170
concurrency = 1_000
engineConfig {
maxConcurrency = 32u
}

test { env, client ->
val req = HttpRequest {
Expand Down

0 comments on commit 7c7c263

Please sign in to comment.