Merge pull request #1356 from Kgierszx/fix_test_recover_cache_verify

test: fix_recovery_cache_verify_core
This commit is contained in:
Robert Baldyga 2022-09-27 10:12:19 +02:00 committed by GitHub
commit 7b126005eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,7 @@ def test_recover_cache_verify_core():
for core, cache in zip(cores, caches):
core_mnt_point = f"{mount_point}-{cache.cache_id}-{core.core_id}"
mount(core.core_device, core_mnt_point)
core.mount_point = core_mnt_point
if not check_if_file_exists(f"{core_mnt_point}/test"):
TestRun.LOGGER.error(f"Mounting core device {core_mnt_point} failed.")