mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 15:28:27 +00:00
perf(test): skip atomic sqlite swaps for memory index
This commit is contained in:
@@ -57,6 +57,9 @@ describe("memory index", () => {
|
||||
});
|
||||
|
||||
beforeEach(async () => {
|
||||
// Perf: most suites don't need atomic swap behavior for full reindexes.
|
||||
// Keep atomic reindex tests on the safe path.
|
||||
vi.stubEnv("OPENCLAW_TEST_MEMORY_UNSAFE_REINDEX", "1");
|
||||
embedBatchCalls = 0;
|
||||
workspaceDir = path.join(fixtureRoot, `case-${fixtureCount++}`);
|
||||
await fs.mkdir(workspaceDir, { recursive: true });
|
||||
|
||||
Reference in New Issue
Block a user