Skip to content

Commit

Permalink
fix(metadata): create guids before every test but allow 409
Browse files Browse the repository at this point in the history
  • Loading branch information
Avantol13-machine-user committed Nov 28, 2022
1 parent 2977ac3 commit eb3ffe8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions suites/apis/metadataIngestionTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb3ffe8

Please sign in to comment.