Skip to content

Commit c20316c

Browse files
committed
fixup! Refactor integration tests to use Testcontainers for TypeScript client and server
1 parent 2db79db commit c20316c

File tree

1 file changed

+2
-2
lines changed
  • kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/typescript

1 file changed

+2
-2
lines changed

kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/typescript/TsTestBase.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ abstract class TsTestBase {
274274
)
275275

276276
// Capture both stdout and stderr from the TS client to ensure error messages are returned to tests
277-
val output = StringBuffer()
277+
val output = StringBuilder()
278278

279279
fun captureStream(stream: java.io.InputStream, prefix: String = ""): Thread = Thread {
280280
stream.bufferedReader().useLines { lines ->
@@ -330,7 +330,7 @@ abstract class TsTestBase {
330330
start()
331331
}
332332

333-
val output = StringBuffer()
333+
val output = StringBuilder()
334334
Thread {
335335
process.errorStream.bufferedReader().useLines { lines ->
336336
lines.forEach {

0 commit comments

Comments
 (0)