From d4093dda302fecb1be9e6e485b61d4eddab942f0 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 4 May 2022 20:30:29 -0700 Subject: [PATCH] we always need to download anyway --- .github/workflows/selfdrive_tests.yaml | 2 +- tools/lib/url_file.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml index 9b42b18e1b..9679e27640 100644 --- a/.github/workflows/selfdrive_tests.yaml +++ b/.github/workflows/selfdrive_tests.yaml @@ -320,7 +320,7 @@ jobs: if: ${{ failure() && github.event_name == 'pull_request' && github.repository == 'commaai/openpilot' }} run: | ${{ env.RUN }} "scons -j$(nproc) && \ - FILEREADER_CACHE=1 CI=1 AZURE_TOKEN='${{ secrets.AZURE_COMMADATACI_OPENPILOTCI_TOKEN }}' python selfdrive/test/process_replay/update_refs.py" + CI=1 AZURE_TOKEN='${{ secrets.AZURE_COMMADATACI_OPENPILOTCI_TOKEN }}' python selfdrive/test/process_replay/update_refs.py" - name: "Upload coverage to Codecov" uses: codecov/codecov-action@v2 - name: Print diff diff --git a/tools/lib/url_file.py b/tools/lib/url_file.py index ef57e29736..8ad2f96b3a 100644 --- a/tools/lib/url_file.py +++ b/tools/lib/url_file.py @@ -121,7 +121,6 @@ class URLFile: end = self.get_length() - 1 else: end = min(self._pos + ll, self.get_length()) - 1 - assert end > 0, "No data from {}".format(self._url) if self._pos >= end: return b"" headers.append(f"Range: bytes={self._pos}-{end}")