test(perf): trim slack, hook, and plugin-validation test overhead

This commit is contained in:
Peter Steinberger
2026-03-03 00:42:30 +00:00
parent 282b107e99
commit 9657ded2e1
4 changed files with 38 additions and 20 deletions

View File

@@ -70,6 +70,14 @@ describe("config plugin validation", () => {
process.env.OPENCLAW_STATE_DIR = path.join(suiteHome, ".openclaw");
process.env.OPENCLAW_PLUGIN_MANIFEST_CACHE_MS = "10000";
clearPluginManifestRegistryCache();
// Warm the plugin manifest cache once so path-based validations can reuse
// parsed manifests across test cases.
validateInSuite({
plugins: {
enabled: false,
load: { paths: [badPluginDir, bluebubblesPluginDir] },
},
});
});
afterAll(async () => {