Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(memory): add live cortexdb integration test

Steven Enamakelfd270839b8e9
diff --git a/scripts/__tests__/test-memory-cortexdb-live.test.mjs b/scripts/__tests__/test-memory-cortexdb-live.test.mjs
new file mode 100644
index 0000000000..5d74ecb6ab
--- /dev/null
+++ b/scripts/__tests__/test-memory-cortexdb-live.test.mjs
@@ -0,0 +1,15 @@
+import assert from 'node:assert/strict';
+import { readFile } from 'node:fs/promises';
+import test from 'node:test';
+
+test('live CortexDB harness opts in to the ignored integration test', async () => {
+ const script = await readFile(
+ new URL('../test-memory-cortexdb-live.sh', import.meta.url),
+ 'utf8',
+ );
+
+ assert.match(
+ script,
+ /cargo test -p openhuman-cli --test memory_cortexdb_live -- --ignored --nocapture/,
+ );
+});