Skip to content

Commit f81b16c

Browse files
committed
test(android): isolate history run snapshot
1 parent 1760a43 commit f81b16c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/android/app/src/test/java/ai/openclaw/app/chat/ChatControllerReconnectRestoreTest.kt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ class ChatControllerReconnectRestoreTest {
497497
"chat.history",
498498
history(emptyList(), hasActiveRun = true, activeRunIds = null),
499499
)
500+
val pendingSessionList = CompletableDeferred<String>()
501+
gateway.respond("sessions.list") { pendingSessionList.await() }
500502
reconnect(controller)
501503

502504
assertEquals(1, controller.selectedActiveRunPresentation.value.count)

0 commit comments

Comments
 (0)