Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[translation] add continuation token tests #19105

Merged
merged 3 commits into from
Jun 4, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add continuation token tests
  • Loading branch information
kristapratico committed Jun 4, 2021
commit 4c0146125bd41df1d5ae5e8df6d99c5355198740
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ def create_resource(self, name, **kwargs):
# set polling interval to 0 for recorded tests
if not self.is_live:
self.client_kwargs["polling_interval"] = 0
else:
# default is 30s, but our tests translate very small docs so this helps speed up live testing
self.client_kwargs["polling_interval"] = 5

client = self.client_cls(
doctranslation_test_endpoint,
Expand Down
Loading