We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aec2577 commit ec4e847Copy full SHA for ec4e847
1 file changed
tests/unit/data/_metrics/test_data_model.py
@@ -213,9 +213,9 @@ def test_start_attempt_with_backoff_generator(self):
213
If operation has a backoff generator, it should be used to attach backoff
214
times to attempts
215
"""
216
- from google.cloud.bigtable.data._helpers import BackoffGenerator
+ from google.cloud.bigtable.data._helpers import TrackedBackoffGenerator
217
218
- generator = BackoffGenerator()
+ generator = TrackedBackoffGenerator()
219
# pre-seed generator with exepcted values
220
generator.history = list(range(10))
221
metric = self._make_one(mock.Mock(), backoff_generator=generator)
0 commit comments