Skip to content

Commit 9ceea82

Browse files
committed
Add small test debug adapter initialization delay
1 parent 8aab1d9 commit 9ceea82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adapter/src/test/kotlin/org/javacs/ktda/DebugAdapterTestFixture.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ abstract class DebugAdapterTestFixture(
4747
Thread {
4848
configDone.join()
4949
}.start()
50+
// Add a small delay to ensure that the thread has
51+
// started and is blocked on the future.
52+
Thread.sleep(500)
5053
}
5154
}
5255

0 commit comments

Comments
 (0)