You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, I've noticed the same unit test failing intermittently. Usually, rerunning makes things pass, but I wanted to bring this up in case it was due to a timeout or other 5xx issue and maybe we should find a different fixture for the test:
(venv) ➜ iiif git:(issue_101) ✗ python -m unittest discover -s tests
./Users/mark.baggett/code/iiif/venv/lib/python3.13/site-packages/iiif_prezi3/base.py:60: DeprecationWarning: `copy_on_model_validation` should be a string: 'deep', 'shallow' or 'none'
super().__setattr__(key, value)
..........E............................................/Users/mark.baggett/code/iiif/venv/lib/python3.13/site-packages/iiif2/web.py:32: ResourceWarning: unclosed file <_io.BufferedReader name='media/img-8664_202009'>
w, h = Image.open(path).size
ResourceWarning: Enable tracemalloc to get the object allocation traceback
..........
======================================================================
ERROR: test_space_in_filename (test_cantaloupe_resolver.TestCantaloupeResolver.test_space_in_filename)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/mark.baggett/code/iiif/tests/test_cantaloupe_resolver.py", line 89, in test_space_in_filename
cid = cantaloupe_resolver("drug-use-and-abuse-collection-of-pamphlets")
File "/Users/mark.baggett/code/iiif/iiify/resolver.py", line 1059, in cantaloupe_resolver
raise ValueError("No such valid Archive.org item identifier: %s" \
% identifier)
ValueError: No such valid Archive.org item identifier: drug-use-and-abuse-collection-of-pamphlets
----------------------------------------------------------------------
Ran 66 tests in 46.337s
FAILED (errors=1)
The text was updated successfully, but these errors were encountered:
markpbaggett
changed the title
Intermittent Failure of a Particular Unittest
Intermittent Failure of a Particular Unit test
Feb 20, 2025
Today, I've noticed the same unit test failing intermittently. Usually, rerunning makes things pass, but I wanted to bring this up in case it was due to a timeout or other 5xx issue and maybe we should find a different fixture for the test:
The text was updated successfully, but these errors were encountered: