Skip to content

Commit f25e8b6

Browse files
committed
[a2a] Fix compilation
1 parent ea01449 commit f25e8b6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

a2a/a2a-client/src/jvmTest/kotlin/ai/koog/a2a/client/A2AClientJsonRpcIntegrationTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import org.testcontainers.containers.GenericContainer
1515
import org.testcontainers.containers.wait.strategy.Wait
1616
import org.testcontainers.junit.jupiter.Container
1717
import org.testcontainers.junit.jupiter.Testcontainers
18-
import kotlin.time.Duration.Companion.seconds
18+
import kotlin.time.Duration.Companion.minutes
1919

2020
/**
2121
* Integration test class for testing the JSON-RPC HTTP communication in the A2A client context.
@@ -34,7 +34,7 @@ class A2AClientJsonRpcIntegrationTest : BaseA2AProtocolTest() {
3434
.waitingFor(Wait.forListeningPort())
3535
}
3636

37-
override val testTimeout = 10.seconds
37+
override val testTimeout = 3.minutes
3838

3939
private val httpClient = HttpClient {
4040
install(Logging) {

a2a/a2a-server/src/jvmTest/kotlin/ai/koog/a2a/server/A2AServerJsonRpcIntegrationTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import org.junit.jupiter.api.TestInstance
4747
import java.net.ServerSocket
4848
import kotlin.test.BeforeTest
4949
import kotlin.test.Test
50-
import kotlin.time.Duration.Companion.seconds
50+
import kotlin.time.Duration.Companion.minutes
5151
import kotlin.uuid.ExperimentalUuidApi
5252
import kotlin.uuid.Uuid
5353

@@ -59,7 +59,7 @@ import kotlin.uuid.Uuid
5959
@OptIn(ExperimentalUuidApi::class)
6060
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
6161
class A2AServerJsonRpcIntegrationTest : BaseA2AProtocolTest() {
62-
override val testTimeout = 10.seconds
62+
override val testTimeout = 3.minutes
6363

6464
private var testPort: Int? = null
6565
private val testPath = "/a2a"

0 commit comments

Comments
 (0)