fix(test): read back history after SetHistory in steering test for CreatedAt normalization

This commit is contained in:
LiusCraft committed 2026-05-22 13:15:56 +08:00
1 parent 34e73f6b1a
commit fd08ebd3db
1 file changed
+2
+2
View File
@@ -1618,6 +1618,8 @@ func TestAgentLoop_InterruptHard_RestoresSession(t *testing.T) {
}
defaultAgent.Sessions.SetHistory(sessionKey, originalHistory)
originalHistory = defaultAgent.Sessions.GetHistory(sessionKey)
runtimeCh, closeRuntimeEvents := subscribeRuntimeEventsForTest(
t,
al,