mirror of https://github.com/openclaw/openclaw.git
test: stabilize memory async search close
This commit is contained in:
parent
6636ca87f4
commit
bdf2c265a7
|
|
@ -87,6 +87,7 @@ describe("memory search async sync", () => {
|
|||
});
|
||||
|
||||
manager = await createMemoryManagerOrThrow(cfg);
|
||||
(manager as unknown as { dirty: boolean }).dirty = true;
|
||||
await manager.search("hello");
|
||||
await vi.waitFor(() => {
|
||||
expect((manager as unknown as { syncing: Promise<void> | null }).syncing).toBeTruthy();
|
||||
|
|
|
|||
Loading…
Reference in New Issue