Skip to content

Commit

Permalink
update dockerfile for updated chromedriver
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Feb 3, 2024
1 parent 0b41f0e commit 35a382e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ RUN /bin/bash -c "source activate urlchecker && \
pip install --upgrade certifi && \
pip install .[all]"
# Download chrome driver for selenium
RUN /bin/bash -c "wget https://chromedriver.storage.googleapis.com/107.0.5304.18/chromedriver_linux64.zip && \
unzip chromedriver_linux64.zip && \
rm chromedriver_linux64.zip"
RUN /bin/bash -c "wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.85/linux64/chromedriver-linux64.zip && \
unzip chromedriver-linux64.zip && \
rm chromedriver-linux64.zip"
RUN echo "source activate urlchecker" > ~/.bashrc
ENV PATH /code:/opt/conda/envs/urlchecker/bin:${PATH}
ENTRYPOINT ["urlchecker"]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_core_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_difficult_urls(file_paths):
"""
test difficult urls that likely require selenium.
"""
checker = UrlChecker(serial=True)
checker = UrlChecker()
results = checker.run(file_paths, timeout=20)

# This should be the only failing (503)
Expand Down

0 comments on commit 35a382e

Please sign in to comment.