diff --git a/tests/remote/test_devedition.py b/tests/remote/test_devedition.py index ff69f9b2..6eba1e5a 100644 --- a/tests/remote/test_devedition.py +++ b/tests/remote/test_devedition.py @@ -31,6 +31,7 @@ ]) def test_release_scraper(tmpdir, args, url): """Test release scraper against the remote server.""" + args.update({"retry_attempts": 5, "retry_delay": 0.1}) scraper = mozdownload.ReleaseScraper(destination=tmpdir, **args) if url: @@ -56,6 +57,7 @@ def test_release_scraper(tmpdir, args, url): ]) def test_candidate_scraper(tmpdir, args, url): """Test release candidate scraper against the remote server.""" + args.update({"retry_attempts": 5, "retry_delay": 0.1}) scraper = mozdownload.ReleaseCandidateScraper(destination=tmpdir, **args) assert unquote(scraper.url) == urljoin(BASE_URL, url) diff --git a/tests/remote/test_fenix.py b/tests/remote/test_fenix.py index 213a55b4..6d8aa10a 100644 --- a/tests/remote/test_fenix.py +++ b/tests/remote/test_fenix.py @@ -56,6 +56,7 @@ ]) def test_release_scraper(tmpdir, args, url): """Test release scraper against the remote server.""" + args.update({"retry_attempts": 5, "retry_delay": 0.1}) scraper = mozdownload.ReleaseScraper(destination=tmpdir, **args) if url: @@ -80,4 +81,5 @@ def test_release_scraper(tmpdir, args, url): 'extension': 'apk'}, ]) def test_daily_scraper(tmpdir, args): + args.update({"retry_attempts": 5, "retry_delay": 0.1}) mozdownload.DailyScraper(destination=tmpdir, **args) diff --git a/tests/remote/test_firefox.py b/tests/remote/test_firefox.py index 2b2a0a04..c2e24198 100644 --- a/tests/remote/test_firefox.py +++ b/tests/remote/test_firefox.py @@ -39,6 +39,7 @@ ]) def test_release_scraper(tmpdir, args, url): """Test release scraper against the remote server.""" + args.update({"retry_attempts": 5, "retry_delay": 0.1}) scraper = mozdownload.ReleaseScraper(destination=tmpdir, **args) if url: @@ -70,6 +71,7 @@ def test_release_scraper(tmpdir, args, url): ]) def test_candidate_scraper(tmpdir, args, url): """Test release candidate scraper against the remote server.""" + args.update({"retry_attempts": 5, "retry_delay": 0.1}) scraper = mozdownload.ReleaseCandidateScraper(destination=tmpdir, **args) assert unquote(scraper.url) == urljoin(BASE_URL, url) @@ -99,6 +101,7 @@ def test_candidate_scraper(tmpdir, args, url): ]) def test_daily_scraper(tmpdir, args): """Test daily scraper against the remote server.""" + args.update({"retry_attempts": 5, "retry_delay": 0.1}) mozdownload.DailyScraper(destination=tmpdir, **args) @@ -115,6 +118,7 @@ def test_daily_scraper(tmpdir, args): ]) def test_tinderbox_scraper(tmpdir, args): """Test tinderbox scraper against the remote server.""" + args.update({"retry_attempts": 5, "retry_delay": 0.1}) mozdownload.TinderboxScraper(destination=tmpdir, **args) diff --git a/tests/remote/test_thunderbird.py b/tests/remote/test_thunderbird.py index f96cab99..a7ae8ea4 100644 --- a/tests/remote/test_thunderbird.py +++ b/tests/remote/test_thunderbird.py @@ -29,6 +29,7 @@ ]) def test_release_scraper(tmpdir, args, url): """Test release scraper against the remote server.""" + args.update({"retry_attempts": 5, "retry_delay": 0.1}) scraper = mozdownload.ReleaseScraper(destination=tmpdir, **args) if url: @@ -54,6 +55,7 @@ def test_release_scraper(tmpdir, args, url): ]) def test_candidate_scraper(tmpdir, args, url): """Test release candidate scraper against the remote server.""" + args.update({"retry_attempts": 5, "retry_delay": 0.1}) scraper = mozdownload.ReleaseCandidateScraper(destination=tmpdir, **args) assert unquote(scraper.url) == urljoin(BASE_URL, url) @@ -77,6 +79,7 @@ def test_candidate_scraper(tmpdir, args, url): ]) def test_daily_scraper(tmpdir, args): """Test daily scraper against the remote server.""" + args.update({"retry_attempts": 5, "retry_delay": 0.1}) mozdownload.DailyScraper(destination=tmpdir, **args) @@ -96,6 +99,7 @@ def test_daily_scraper(tmpdir, args): @pytest.mark.xfail(strict=True, reason="tinderbox builds not available in the archive") def test_tinderbox_scraper(tmpdir, args): """Test tinderbox scraper against the remote server.""" + args.update({"retry_attempts": 5, "retry_delay": 0.1}) mozdownload.TinderboxScraper(destination=tmpdir, **args)