pyocf: fix standby I/O test
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
a7f70687a9
commit
19dff9d4a2
@ -34,10 +34,11 @@ def test_test_standby_io(pyocf_ctx, cacheline_size):
|
|||||||
cache.add_io_queue(f"io-queue-{i}")
|
cache.add_io_queue(f"io-queue-{i}")
|
||||||
|
|
||||||
cache.standby_attach(cache_vol)
|
cache.standby_attach(cache_vol)
|
||||||
|
cache_vol = CacheVolume(cache, open=True)
|
||||||
|
|
||||||
r = (
|
r = (
|
||||||
Rio()
|
Rio()
|
||||||
.target(cache)
|
.target(cache_vol)
|
||||||
.njobs(num_jobs)
|
.njobs(num_jobs)
|
||||||
.readwrite(ReadWrite.RANDWRITE)
|
.readwrite(ReadWrite.RANDWRITE)
|
||||||
.size(vol_size)
|
.size(vol_size)
|
||||||
|
Loading…
Reference in New Issue
Block a user