Merge pull request #1291 from pdebski21/test_fixes4

Test fixes
This commit is contained in:
Robert Baldyga 2022-08-06 13:36:28 +02:00 committed by GitHub
commit f0991a4d0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -82,7 +82,8 @@ remove_mounted_core = [
]
stop_cache_mounted_core = [
r"Can\'t stop cache instance \d+\. Device /dev/cas\d+-\d+ is mounted\!"
r"Error while removing cache \d+",
r"Device opens or mount are pending to this cache"
]
load_and_force = [

View File

@ -240,7 +240,7 @@ def test_interrupt_core_remove(cache_mode, filesystem):
wait_for_flushing(cache, core)
percentage = casadm_parser.get_flushing_progress(cache.cache_id, core.core_id)
while percentage < 50:
percentage = casadm_parser.get_flushing_progress(cache.cache_i, core.core_id)
percentage = casadm_parser.get_flushing_progress(cache.cache_id, core.core_id)
TestRun.executor.run(f"kill -s SIGINT {flush_pid}")
with TestRun.step(