Skip to content

Commit 2df9ba4

Browse files
committed
Boost test timeouts a bunch to ensure they're reliable
These are getting slower, and there's no actual hurry: the immediate hook generally works straight away but attaching can take a little while, and that's ok. Getting slower because we're adding more clients and now hitting a real target server initially, not due to code changes AFAICT.
1 parent b809f6f commit 2df9ba4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/kotlin/IntegrationTests.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class IntegrationTests : StringSpec({
4141
).inheritIO().start()
4242
runningProcs.add(proc)
4343

44-
proc.waitFor(10, TimeUnit.SECONDS)
44+
proc.waitFor(30, TimeUnit.SECONDS)
4545

4646
proc.isAlive.shouldBe(false)
4747
proc.exitValue().shouldBe(0)
@@ -70,12 +70,12 @@ class IntegrationTests : StringSpec({
7070
runningProcs.add(agentAttachProc)
7171

7272
// Agent attacher should quit happily
73-
agentAttachProc.waitFor(2, TimeUnit.SECONDS)
73+
agentAttachProc.waitFor(30, TimeUnit.SECONDS)
7474
agentAttachProc.isAlive.shouldBe(false)
7575
agentAttachProc.exitValue().shouldBe(0)
7676

7777
// Target should pick up proxy details & quit happily, eventually
78-
targetProc.waitFor(15, TimeUnit.SECONDS)
78+
targetProc.waitFor(30, TimeUnit.SECONDS)
7979
targetProc.isAlive.shouldBe(false)
8080
targetProc.exitValue().shouldBe(0)
8181
}

0 commit comments

Comments
 (0)