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 0f65cba commit 73ebc7fCopy full SHA for 73ebc7f
tests/unit/test_verify_links.py
@@ -11,7 +11,7 @@
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
-
+import time
15
from os import path, walk
16
from re import findall, search
17
from typing import List
@@ -68,4 +68,11 @@ def test_verify_urls(urls_list: list):
68
response = request("GET", url)
69
70
assert "jdbc" not in url
71
+
72
+ if response.status_code == 202:
73
+ attempts = 1
74
+ while attempts < 10 and response.status_code == 202:
75
+ time.sleep(20)
76
+ response = request("GET", url)
77
+ attempts += 1
78
assert response.status_code == 200
0 commit comments