tests: fix tests after tf disk recognition refactor

Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
This commit is contained in:
Kamil Gierszewski
2024-09-12 09:57:59 +02:00
committed by Katarzyna Treder
parent 8f5dbc997b
commit 173810ad6d
8 changed files with 24 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
#
# Copyright(c) 2021 Intel Corporation
# Copyright(c) 2024 Huawei Technologies Co., Ltd.
# SPDX-License-Identifier: BSD-3-Clause
#
import time
@@ -221,7 +222,7 @@ def test_zero_metadata_dirty_shutdown():
TestRun.LOGGER.info("This could ended with error (expected)")
with TestRun.step("Plug cache device."):
cache_disk.plug()
cache_disk.plug_all()
time.sleep(1)
with TestRun.step("Start cache (expect to fail)."):