openvibers/openvibe.live Commits

Done. Both changes are in test/analytics-pg.test.js and nothing else… (#9)

OP OpenVibers committed 2 Oct 2026 · f36f57f815 · 1 file, +8 −2

local checks ✓ 4/4 · CI ✓ 3/3 · review SHIP by DeepSeek harness

https://github.com/OpenVibers/OpenVibe.Live/pull/9

Changes

ddiff --git a/test/analytics-pg.test.js b/test/analytics-pg.test.js
iindex 85059971..8be5606c 100644
---- a/test/analytics-pg.test.js
++++ b/test/analytics-pg.test.js
@@@ -12,7 +12,7 @@ async function main() {
}
const { createDb } = require('openvibe-sdk/db');
-- const admin = createDb({ url: directUrl, service: 'live-analytics-test-admin' });
++ const admin = createDb({ url: directUrl, service: 'live-analytics-test-admin', queryTimeoutMs: 60000 });
const healthy = await admin.ready();
if (!healthy.ok) {
await admin.close();
@@@ -78,7 +78,13 @@ async function main() {
} finally {
if (store) await store.close();
if (owner) await owner.close();
-- if (created) await admin.query(`DROP DATABASE ${name} WITH (FORCE)`);
++ if (created) {
++ try {
++ await admin.query(`DROP DATABASE ${name} WITH (FORCE)`);
++ } catch (err) {
++ console.warn(`analytics PostgreSQL: could not drop ${name}: ${err.message}`);
++ }
++ }
await admin.close();
}
}