Tests with S3 stubber run slower while connected to the internet #3229
Unanswered
hugochinchilla
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a test suite that runs in 27 seconds while connected to the internet but only 1.3 seconds while offline.
Online:
pytest tests/summit/test_downloads.py 1.27s user 0.88s system 7% cpu 27.478 total
Offline:
pytest tests/summit/test_downloads.py 1.27s user 0.80s system 154% cpu 1.349 total
From the profiler I think the culprit is here:
It looks like is trying to establish some kind of connection and timeing out after 1 second before sticking to the stubber.
I would appreciate any help to solve this.
Beta Was this translation helpful? Give feedback.
All reactions