mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-20 13:41:30 +00:00
fix(memory): align status manager concurrency test
This commit is contained in:
@@ -118,7 +118,7 @@ describe("memory manager cache hydration", () => {
|
||||
await secondManager?.close?.();
|
||||
});
|
||||
|
||||
it("caches status-only managers separately from full managers", async () => {
|
||||
it("does not identity-cache status-only managers", async () => {
|
||||
const indexPath = path.join(workspaceDir, "index.sqlite");
|
||||
const cfg = createMemoryConcurrencyConfig(indexPath);
|
||||
|
||||
@@ -127,9 +127,10 @@ describe("memory manager cache hydration", () => {
|
||||
|
||||
expect(first).toBeTruthy();
|
||||
expect(second).toBeTruthy();
|
||||
expect(Object.is(second, first)).toBe(true);
|
||||
expect(Object.is(second, first)).toBe(false);
|
||||
expect(hoisted.providerCreateCalls).toBe(0);
|
||||
|
||||
await second?.close?.();
|
||||
await first?.close?.();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user