We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a106618 commit 7b48624Copy full SHA for 7b48624
osgtest/tests/test_155_stashcache.py
@@ -97,10 +97,13 @@
97
98
XROOTD_ORIGIN_CFG_PATH = "/etc/xrootd/xrootd-stash-origin.cfg"
99
HTTP_CFG_PATH = "/etc/xrootd/config.d/40-osg-http.cfg"
100
-if core.PackageVersion('stash-cache') >= '1.1.0':
101
- CACHING_PLUGIN_CFG_PATH = "/etc/xrootd/config.d/40-stash-cache-plugin.cfg"
102
-else:
103
- CACHING_PLUGIN_CFG_PATH = "/etc/xrootd/config.d/40-osg-caching-plugin.cfg"
+try:
+ if core.PackageVersion('stash-cache') >= '1.1.0':
+ CACHING_PLUGIN_CFG_PATH = "/etc/xrootd/config.d/40-stash-cache-plugin.cfg"
+ else:
104
+ CACHING_PLUGIN_CFG_PATH = "/etc/xrootd/config.d/40-osg-caching-plugin.cfg"
105
+except OSError:
106
+ pass # stash-cache isn't installed
107
108
NAMESPACE = "stashcache"
109
0 commit comments