test: remove double uninit of db

This commit is contained in:
Girish Ramakrishnan
2025-06-19 10:17:29 +02:00
parent 84111996b4
commit 227da8dce4
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -506,6 +506,8 @@ async function rebuildService(id, auditSource) {
assert.strictEqual(typeof id, 'string');
assert.strictEqual(typeof auditSource, 'object');
if (constants.TEST && !process.env.TEST_CREATE_INFRA) return;
// this attempts to recreate the service docker container if they don't exist but platform infra version is unchanged
// passing an infra version of 'none' will not attempt to purge existing data
const [name, instance] = id.split(':');