Fix for security tests need of name param when creating multiple cores
Signed-off-by: Kamil Lepek <kamil.lepek94@gmail.com>
This commit is contained in:
parent
f1d8a18a30
commit
daae1b915d
@ -110,9 +110,9 @@ def test_neg_cache_set_seq_cut_off_policy(pyocf_ctx, cm, cls):
|
|||||||
|
|
||||||
# Create 2 core devices
|
# Create 2 core devices
|
||||||
core_device1 = Volume(S.from_MiB(10))
|
core_device1 = Volume(S.from_MiB(10))
|
||||||
core1 = Core.using_device(core_device1)
|
core1 = Core.using_device(core_device1, name="core1")
|
||||||
core_device2 = Volume(S.from_MiB(10))
|
core_device2 = Volume(S.from_MiB(10))
|
||||||
core2 = Core.using_device(core_device2)
|
core2 = Core.using_device(core_device2, name="core2")
|
||||||
|
|
||||||
# Add cores
|
# Add cores
|
||||||
cache.add_core(core1)
|
cache.add_core(core1)
|
||||||
|
Loading…
Reference in New Issue
Block a user