Skip to content

Commit 5dfc8d4

Browse files
authored
chore: renamed output dirs to prevent bucket access issue (#631)
1 parent 2d767a7 commit 5dfc8d4

3 files changed

+3
-3
lines changed

translate/test/v3/translate_batch_translate_text.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe(REGION_TAG, () => {
2929
const translationClient = new TranslationServiceClient();
3030
const location = 'us-central1';
3131
const bucketUuid = uuid.v4();
32-
const bucketName = `translation-${bucketUuid}/BATCH_TRANSLATION_OUTPUT/`;
32+
const bucketName = `translation-${bucketUuid}/BATCH_TRANSLATE_OUTPUT/`;
3333
const storage = new Storage();
3434

3535
before(async () => {

translate/test/v3/translate_batch_translate_text_with_glossary.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe(REGION_TAG, () => {
3030
const location = 'us-central1';
3131
const glossaryId = `my_test_glossary_${uuid.v4()}`;
3232
const bucketUuid = uuid.v4();
33-
const bucketName = `translation-${bucketUuid}/BATCH_TRANSLATION_OUTPUT/`;
33+
const bucketName = `translation-${bucketUuid}/BATCH_TRANSLATE_WITH_GLOS_OUTPUT/`;
3434
const storage = new Storage();
3535

3636
before(async () => {

translate/test/v3/translate_batch_translate_text_with_glossary_and_model.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe(REGION_TAG, () => {
3131
const glossaryId = `my_test_glossary_${uuid.v4()}`;
3232
const modelId = 'TRL1218052175389786112';
3333
const bucketUuid = uuid.v4();
34-
const bucketName = `translation-${bucketUuid}/BATCH_TRANSLATION_OUTPUT/`;
34+
const bucketName = `translation-${bucketUuid}/BATCH_TRANSLATE_GLOSS_MODEL_OUTPUT/`;
3535
const storage = new Storage();
3636

3737
before(async () => {

0 commit comments

Comments
 (0)