Revision 5a904197 qa/qa_instance.py
b/qa/qa_instance.py | ||
---|---|---|
135 | 135 |
vols = info["volumes"] |
136 | 136 |
for node in info["nodes"]: |
137 | 137 |
AssertCommand(["lvremove", "-f"] + vols, node=node) |
138 |
elif info["storage-type"] == constants.ST_FILE:
|
|
138 |
elif info["storage-type"] in (constants.ST_FILE, constants.ST_SHARED_FILE):
|
|
139 | 139 |
# Note that this works for both file and sharedfile, and this is intended. |
140 | 140 |
storage_dir = qa_config.get("file-storage-dir", |
141 | 141 |
pathutils.DEFAULT_FILE_STORAGE_DIR) |
Also available in: Unified diff