Re-opening this PR after moving all changes to a new gapic-polling-harness branch. The polling harness logic was originally reverted in #1083. We will keep all changes in gapic-polling-harness for later usage.
Original PR #1081 description:
Start supporting timeouts in the gapic polling harness.
It removes the need for clients to keep track of their own time variables, as it is done here in bigtable.
Note: timeout deadline is calculated based on when the method wait is called. Late initialization can cause off-by-one errors.
Next PR integrates this change for testing in bigtable.
Re-opening this PR after moving all changes to a new
gapic-polling-harness
branch. The polling harness logic was originally reverted in #1083. We will keep all changes ingapic-polling-harness
for later usage.Original PR #1081 description:
Start supporting timeouts in the gapic polling harness.
It removes the need for clients to keep track of their own time variables, as it is done here in bigtable.
Note: timeout deadline is calculated based on when the method
wait
is called. Late initialization can cause off-by-one errors.Next PR integrates this change for testing in bigtable.