Skip to content

Commit

Permalink
Tests: Write output of test to /temp instead of /opt/rucio, add a
Browse files Browse the repository at this point in the history
specific error message on known failure; Fix #6506
  • Loading branch information
voetberg committed Mar 8, 2024
1 parent 3fcd9d2 commit effed5e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_bin_rucio.py
Expand Up @@ -691,8 +691,7 @@ def test_download_pfn(self):
exitcode, out, err = execute(cmd)

if "Access to local destination denied." in err: # Known issue - see #6506
import warnings
warnings.warn(RuntimeWarning(f"test `test_download_pfn` unable to access file {self.user}/{name} in {download_dir}"))
assert False, "test `test_download_pfn` unable to access file {self.user}/{name} in {download_dir}"
else:
assert re.search('Total files.*1', out) is not None

Expand Down

0 comments on commit effed5e

Please sign in to comment.