Skip to content

Commit

Permalink
test: attempt retry on note delete (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Jun 12, 2020
1 parent 474d3ec commit 1ed98b2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion container-analysis/snippets/test/containerAnalysis.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,12 @@ describe('Note tests', () => {
it('should delete note', () => {
const output = execSync(`node deleteNote.js "${projectId}" "${noteId}" `);
assert.include(output, `Note ${formattedNoteName} deleted.`);
});
// Sometimes the delete note test is failing with the error:
// Error: 5 NOT_FOUND: note with ID "test-note-${uuid}" for project
// ${projectId} does not exist.
// Attempting to work around this issue by retrying a few times.
// DO NOT MERGE. If this works, we should submit an upstream bug.
}).retries(3);
});

describe('polling', () => {
Expand Down

0 comments on commit 1ed98b2

Please sign in to comment.