Skip to content

Commit

Permalink
build: update gapic-generator-typescript to v1.2.10. (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Mar 8, 2021
1 parent c2e9b63 commit 54c211a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions container-analysis/snippets/test/containerAnalysis.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,16 @@ describe('Note tests', () => {
);
assert.include(output, 'Occurrence deleted:');
});
it('should delete note', () => {
it('should delete note', function () {
this.retries(3);
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 54c211a

Please sign in to comment.