mirror of
https://github.com/garrytan/gbrain.git
synced 2026-07-27 22:15:33 +00:00
test: reset gateway in afterAll in cli-multimodal-integration — cross-file config leak
Review hardening on #3116: the file resets the gateway in beforeEach but left it configured after the last test, leaking a multimodal gateway config into whatever file runs next in its shard (same class as the adaptive-embed-batch leak fixed on master). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
73256e56a0
commit
b46b349028
@@ -28,6 +28,7 @@ beforeAll(async () => {
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
resetGateway(); // don't leak this file's gateway config into shard siblings
|
||||
await engine.disconnect();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user