test: remove double uninit of db
This commit is contained in:
@@ -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(':');
|
||||
|
||||
Reference in New Issue
Block a user