test: disable unsafe memory reindex for atomic suite

This commit is contained in:
Peter Steinberger
2026-02-14 19:43:49 +00:00
parent 91c30f46f7
commit 82f0388951
@@ -40,6 +40,7 @@ describe("memory manager atomic reindex", () => {
let manager: MemoryIndexManager | null = null; let manager: MemoryIndexManager | null = null;
beforeEach(async () => { beforeEach(async () => {
vi.stubEnv("OPENCLAW_TEST_MEMORY_UNSAFE_REINDEX", "0");
shouldFail = false; shouldFail = false;
workspaceDir = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-mem-")); workspaceDir = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-mem-"));
indexPath = path.join(workspaceDir, "index.sqlite"); indexPath = path.join(workspaceDir, "index.sqlite");