diff --git a/.github/workflows/PRs.yml b/.github/workflows/PRs.yml index 8bf4b05d..4294f202 100644 --- a/.github/workflows/PRs.yml +++ b/.github/workflows/PRs.yml @@ -46,7 +46,7 @@ jobs: run: | pip install pytest pytest-cov sphinx pandoc pip install -r docs/requirements.txt - SPEASY_AMDA_MAX_CHUNK_SIZE_DAYS=30 SPEASY_LONG_TESTS="" pytest --cov=./ --cov-report=xml + SPEASY_AMDA_MAX_CHUNK_SIZE_DAYS=25 SPEASY_LONG_TESTS="" pytest --cov=./ --cov-report=xml make doctest - name: Check that release process is not broken if: matrix.python-version == '3.7' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 296a408c..a56948b4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,7 +46,7 @@ jobs: run: | pip install pytest pytest-cov sphinx pandoc pip install -r docs/requirements.txt - SPEASY_AMDA_MAX_CHUNK_SIZE_DAYS=30 SPEASY_LONG_TESTS="" pytest --cov=./ --cov-report=xml + SPEASY_AMDA_MAX_CHUNK_SIZE_DAYS=25 SPEASY_LONG_TESTS="" pytest --cov=./ --cov-report=xml make doctest - name: Check that release process is not broken if: matrix.python-version == '3.7' diff --git a/tests/test_amda.py b/tests/test_amda.py index 122227ba..071c56b8 100644 --- a/tests/test_amda.py +++ b/tests/test_amda.py @@ -77,7 +77,7 @@ def test_get_variable_long_request(self): self.skipTest("Long tests disabled") with self.assertLogs('speasy.webservices.amda.rest_client', level='WARNING') as cm: start_date = datetime(2021, 1, 1, 0, 0, 0, tzinfo=timezone.utc) - stop_date = datetime(2021, 1, 25, 0, 0, 0, tzinfo=timezone.utc) + stop_date = datetime(2021, 1, 30, 0, 0, 0, tzinfo=timezone.utc) parameter_id = "mms1_b_gse" result = spz.amda.get_parameter(parameter_id, start_date, stop_date, disable_proxy=True, disable_cache=True)