Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 411bae6

Browse files
test(samples): disable samples tests for this repository (#440)
Fixes #430.
1 parent c937f85 commit 411bae6

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

samples/test/containerAnalysis.test.js

+5-7
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ let projectId;
4141
let formattedParent;
4242
let formattedNoteName;
4343

44-
describe('Note tests', () => {
44+
describe.skip('Note tests', () => {
4545
before(async () => {
4646
// define projectId and related vars
4747
projectId = await client.getProjectId();
@@ -236,19 +236,17 @@ describe('Note tests', () => {
236236
);
237237
assert.include(output, 'Occurrence deleted:');
238238
});
239-
it('should delete note', function () {
240-
this.retries(3);
239+
240+
it('should delete note', () => {
241241
const output = execSync(`node deleteNote.js "${projectId}" "${noteId}" `);
242242
assert.include(output, `Note ${formattedNoteName} deleted.`);
243243
// Sometimes the delete note test is failing with the error:
244244
// Error: 5 NOT_FOUND: note with ID "test-note-${uuid}" for project
245245
// ${projectId} does not exist.
246-
// Attempting to work around this issue by retrying a few times.
247-
// DO NOT MERGE. If this works, we should submit an upstream bug.
248246
});
249247
});
250248

251-
describe('polling', () => {
249+
describe.skip('polling', () => {
252250
before(async () => {
253251
// define project id and related vars
254252
projectId = await client.getProjectId();
@@ -303,7 +301,7 @@ describe('polling', () => {
303301
});
304302
});
305303

306-
describe('pubsub', () => {
304+
describe.skip('pubsub', () => {
307305
before(async () => {
308306
// define project id and related vars
309307
projectId = await client.getProjectId();

0 commit comments

Comments
 (0)