Skip to content

Commit 80411d7

Browse files
committed
test: run perf tests with secret freedom enabled
Get some throughput data from our perf tests with secret freedom enabled. Signed-off-by: Patrick Roy <[email protected]>
1 parent 1320351 commit 80411d7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/conftest.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,12 +381,15 @@ def io_engine(request):
381381
# the network throughput test occasionally fail (both due to connection issues).
382382
# The block test passes even with the minimum of 1MiB. We pick 8 to have enough
383383
# buffer to the failing cases.
384-
@pytest.fixture(params=[None, 8] if platform.machine() == "aarch64" else [None])
384+
@pytest.fixture(
385+
params=[None, (8, True), (8, False)] if platform.machine() == "aarch64" else [None]
386+
)
385387
def memory_config(request):
386388
"""Differently configured swiotlb regions. Only supported on aarch64"""
387389
if request.param is None:
388390
return None
389-
return {"initial_swiotlb_size": request.param}
391+
swiotlb_size, secret_free = request.param
392+
return {"initial_swiotlb_size": swiotlb_size, "secret_free": secret_free}
390393

391394

392395
@pytest.fixture

0 commit comments

Comments
 (0)