Skip to content

Commit 22486df

Browse files
munkhuushmglAce Nassri
authored andcommitted
chore: temp fix for flaky test (batch service known as flaky across all languages) (#605)
1 parent f7344b2 commit 22486df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

translate/test/v3/translate_batch_translate_text_with_model.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2525

2626
const REGION_TAG = 'translate_batch_translate_text_with_model';
2727

28-
describe(REGION_TAG, function () {
29-
this.retries(3);
28+
describe(REGION_TAG, () => {
3029
const translationClient = new TranslationServiceClient();
3130
const location = 'us-central1';
3231
const modelId = 'TRL1218052175389786112';
@@ -51,7 +50,8 @@ describe(REGION_TAG, function () {
5150
});
5251
});
5352

54-
it('should batch translate the input text with a model', async () => {
53+
it('should batch translate the input text with a model', async function () {
54+
this.retries(3);
5555
const projectId = await translationClient.getProjectId();
5656
const inputUri =
5757
'gs://cloud-samples-data/translation/custom_model_text.txt';

0 commit comments

Comments
 (0)