we always need to download anyway

pull/24414/head
Shane Smiskol 3 years ago
parent 7bf68f4b63
commit d4093dda30
  1. 2
      .github/workflows/selfdrive_tests.yaml
  2. 1
      tools/lib/url_file.py

@ -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

@ -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}")

Loading…
Cancel
Save