Skip to content

Commit

Permalink
chore: temp fix for flaky test (batch service known as flaky across a…
Browse files Browse the repository at this point in the history
…ll languages) (#605)
  • Loading branch information
munkhuushmgl authored and Ace Nassri committed Nov 17, 2022
1 parent f7344b2 commit 22486df
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});

const REGION_TAG = 'translate_batch_translate_text_with_model';

describe(REGION_TAG, function () {
this.retries(3);
describe(REGION_TAG, () => {
const translationClient = new TranslationServiceClient();
const location = 'us-central1';
const modelId = 'TRL1218052175389786112';
Expand All @@ -51,7 +50,8 @@ describe(REGION_TAG, function () {
});
});

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

0 comments on commit 22486df

Please sign in to comment.