We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f35ccd commit 38b406eCopy full SHA for 38b406e
datastore/cloud-client/admin_test.py
@@ -14,6 +14,7 @@
14
import os
15
16
import backoff
17
+from google.api_core.exceptions import RetryError
18
import pytest
19
20
import admin
@@ -40,7 +41,7 @@ def test_get_index(self):
40
41
def test_list_index(self):
42
assert admin.list_indexes(PROJECT)
43
- @backoff.on_exception(backoff.expo, AssertionError, max_tries=3)
44
+ @backoff.on_exception(backoff.expo, RetryError, max_tries=3)
45
def test_export_import_entities(self):
46
response = admin.export_entities(PROJECT, "gs://" + BUCKET)
47
assert response
0 commit comments