From 54a63e80af82791d2f0985bd0176bb182963fd5f Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Thu, 27 Jun 2024 19:23:44 -0500 Subject: [PATCH] [test:download] Raise on network errors (#10283) Authored by: bashonly, seproDev Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com> --- test/test_download.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/test_download.py b/test/test_download.py index 882d54565..3f36869d9 100755 --- a/test/test_download.py +++ b/test/test_download.py @@ -20,7 +20,6 @@ gettestcases, getwebpagetestcases, is_download_test, - report_warning, try_rm, ) @@ -178,8 +177,7 @@ def try_rm_tcs_files(tcs=None): raise if try_num == RETRIES: - report_warning(f'{tname} failed due to network errors, skipping...') - return + raise print(f'Retrying: {try_num} failed tries\n\n##########\n\n')