Skip to content

Commit

Permalink
chore: fix flaky sample track_objects (#211)
Browse files Browse the repository at this point in the history
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-videointelligence/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
  • Loading branch information
andrewferlitsch authored Aug 31, 2021
1 parent e4e4dda commit 92f792e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def track_objects_gcs(gcs_uri):
)
print("\nProcessing video for object annotations.")

result = operation.result(timeout=300)
result = operation.result(timeout=500)
print("\nFinished processing.\n")

# The first result is retrieved because a single video was processed.
Expand Down Expand Up @@ -480,7 +480,7 @@ def track_objects(path):
)
print("\nProcessing video for object annotations.")

result = operation.result(timeout=300)
result = operation.result(timeout=500)
print("\nFinished processing.\n")

# The first result is retrieved because a single video was processed.
Expand Down

0 comments on commit 92f792e

Please sign in to comment.