Commit ec9d6dea authored by Sebastien Robin's avatar Sebastien Robin

testnode: take into account other errors related to index

parent 7eca345f
...@@ -171,7 +171,7 @@ shared = true ...@@ -171,7 +171,7 @@ shared = true
# only limit to particular error, if we run that code for all errors, # only limit to particular error, if we run that code for all errors,
# then if server having most repositories is down for some time, we would # then if server having most repositories is down for some time, we would
# erase all repositories and facing later hours of downloads # erase all repositories and facing later hours of downloads
if getattr(error, 'stderr', '').find('index file') >= 0: if getattr(error, 'stderr', '').find('index') >= 0:
rmtree(repository_path) rmtree(repository_path)
logger.warning("Error while getting repository, ignoring this test suite", logger.warning("Error while getting repository, ignoring this test suite",
exc_info=1) exc_info=1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment