Skip to content

Commit 24a1bcc

Browse files
committed
refactor(tests): Make LoggingIntegrationTestStreamableHttp run in the same thread
LoggingIntegrationTestStreamableHttp is not designed for concurrent execution
1 parent bc65aef commit 24a1bcc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

integration-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/kotlin/streamablehttp/LoggingIntegrationTestStreamableHttp.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ import kotlinx.coroutines.withTimeout
1717
import kotlinx.serialization.json.JsonObject
1818
import kotlinx.serialization.json.JsonPrimitive
1919
import org.junit.jupiter.api.Test
20+
import org.junit.jupiter.api.parallel.Execution
21+
import org.junit.jupiter.api.parallel.ExecutionMode
2022

23+
@Execution(ExecutionMode.SAME_THREAD)
2124
class LoggingIntegrationTestStreamableHttp : KotlinTestBase() {
2225

2326
override val transportKind = TransportKind.STREAMABLE_HTTP

0 commit comments

Comments
 (0)