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) 2024 Huawei Technologies Co., Ltd.
# Copyright(c) 2024 Huawei Technologies Co., Ltd.
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -86,7 +87,7 @@ def test_fuzzy_remove_inactive_cache_id(
)
if output.exit_code == 0:
with TestRun.step("Reload cache with inactive core"):
core_disk.plug()
core_disk.plug_all()
cache.add_core(core_dev=core_disk)
InitConfig.create_init_config_from_running_configuration()
cache.stop(no_data_flush=True)

View File

@@ -86,7 +86,7 @@ def test_fuzzy_remove_inactive_core_id(
)
if output.exit_code == 0:
with TestRun.step("Reload cache with inactive core"):
core_disk.plug()
core_disk.plug_all()
cache.add_core(core_dev=core_disk)
InitConfig.create_init_config_from_running_configuration()
cache.stop(no_data_flush=True)