From eb3ffe8a5b8e46fcd2afb5af08f0e5cda42ed1f4 Mon Sep 17 00:00:00 2001 From: Alexander VT Date: Mon, 28 Nov 2022 15:42:12 -0600 Subject: [PATCH] fix(metadata): create guids before every test but allow 409 --- suites/apis/metadataIngestionTest.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/suites/apis/metadataIngestionTest.js b/suites/apis/metadataIngestionTest.js index eb04552e4..ff9b69e6c 100644 --- a/suites/apis/metadataIngestionTest.js +++ b/suites/apis/metadataIngestionTest.js @@ -196,8 +196,7 @@ Before(async ({ indexd }) => { console.log('populating indexd records...'); // To test the deletion endpoint, the mds record entry needs to reference an indexd record // So let us create one - const ok = await indexd.do.addFileIndices(Object.values(files)); - expect(ok).to.be.true; + await indexd.do.addFileIndices(Object.values(files)); }); // Scenario #1 - Instrument sower HTTP API endpoint to trigger the ingest-metadata-manifest job