test: harden threaded channel follow-ups

This commit is contained in:
Peter Steinberger
2026-03-24 09:24:29 +00:00
parent 43131dcc08
commit b1b162fcdb
7 changed files with 87 additions and 11 deletions

View File

@@ -1,7 +1,9 @@
import { drainSessionWriteLockStateForTest } from "../agents/session-write-lock.js";
import { clearSessionStoreCacheForTest } from "../config/sessions/store.js";
import { drainFileLockStateForTest } from "../infra/file-lock.js";
export async function cleanupSessionStateForTest(): Promise<void> {
clearSessionStoreCacheForTest();
await drainFileLockStateForTest();
await drainSessionWriteLockStateForTest();
}