Skip to content

Commit

Permalink
Adding NotFound as a flaky error class.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Jan 15, 2015
1 parent 1741bbb commit 381e1f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion regression/regression_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import types

from gcloud import storage
from gcloud.storage.exceptions import NotFound


# From shell environ. May be None.
Expand All @@ -35,7 +36,7 @@
class RetryTestsMetaclass(type):

NUM_RETRIES = 2
FLAKY_ERROR_CLASSES = (AssertionError,)
FLAKY_ERROR_CLASSES = (AssertionError, NotFound)

@staticmethod
def _wrap_class_attr(class_attr):
Expand Down

0 comments on commit 381e1f9

Please sign in to comment.