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 97a82b9 commit 28cf095Copy full SHA for 28cf095
integration/combination/test_connectors.py
@@ -1,11 +1,16 @@
1
from time import sleep
2
+from unittest import SkipTest
3
from parameterized import parameterized
-from tenacity import retry, stop_after_attempt
4
+from tenacity import retry, stop_after_attempt, retry_if_exception
5
from integration.conftest import clean_bucket
6
from integration.helpers.base_test import S3_BUCKET_PREFIX, BaseTest
7
from integration.helpers.resource import generate_suffix
8
-retry_once = retry(stop=stop_after_attempt(2))
9
+retry_once = retry(
10
+ stop=stop_after_attempt(2),
11
+ # unittest raises SkipTest for skipping tests
12
+ retry=retry_if_exception(lambda e: not isinstance(e, SkipTest)),
13
+)
14
15
16
class TestConnectors(BaseTest):
0 commit comments