Skip to content

Commit

Permalink
fix: increase batch translation timeout to 300 (#4357)
Browse files Browse the repository at this point in the history
* fix: increase batch translation timeout to 300

* fix: extends batch translate with glossary timeout too
  • Loading branch information
telpirion authored Jul 22, 2020
1 parent e67b014 commit c6fc919
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_batch_translate_text(capsys, bucket):
"gs://cloud-samples-data/translation/text.txt",
"gs://{}/translation/BATCH_TRANSLATION_OUTPUT/".format(bucket.name),
PROJECT_ID,
timeout=240
timeout=300
)
out, _ = capsys.readouterr()
assert "Total Characters" in out
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_batch_translate_text_with_glossary(capsys, bucket, glossary):
"gs://{}/translation/BATCH_TRANSLATION_OUTPUT/".format(bucket.name),
PROJECT_ID,
glossary,
240
300
)

out, _ = capsys.readouterr()
Expand Down

0 comments on commit c6fc919

Please sign in to comment.