diff --git a/translate/test/v3/translate_batch_translate_text_with_glossary.test.js b/translate/test/v3/translate_batch_translate_text_with_glossary.test.js index bcb7615f156..43cbb38b5b1 100644 --- a/translate/test/v3/translate_batch_translate_text_with_glossary.test.js +++ b/translate/test/v3/translate_batch_translate_text_with_glossary.test.js @@ -71,7 +71,8 @@ describe(REGION_TAG, () => { await operation.promise(); }); - it('should batch translate the input text with a glossary', async () => { + // see: https://github.com/googleapis/nodejs-translate/issues/364 + it.skip('should batch translate the input text with a glossary [FLAKY]', async () => { const projectId = await translationClient.getProjectId(); const inputUri = `gs://cloud-samples-data/translation/text.txt`; diff --git a/translate/test/v3/translate_list_glossary.test.js b/translate/test/v3/translate_list_glossary.test.js index eb7d376442d..8d6bab27a58 100644 --- a/translate/test/v3/translate_list_glossary.test.js +++ b/translate/test/v3/translate_list_glossary.test.js @@ -16,6 +16,7 @@ const {assert} = require('chai'); const {TranslationServiceClient} = require('@google-cloud/translate'); +const uuid = require('uuid'); const cp = require('child_process'); const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); @@ -25,7 +26,7 @@ const REGION_TAG = 'translate_list_glossary'; describe(REGION_TAG, () => { const translationClient = new TranslationServiceClient(); const location = 'us-central1'; - const glossaryId = 'test-glossary'; + const glossaryId = `test-glossary-${uuid.v4()}`; before(async function() { // Add a glossary to be deleted