1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

Send more data in stress tests

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich 2023-08-14 16:59:14 -07:00
parent 3a665f0ded
commit 330d6f41fc
4 changed files with 4 additions and 4 deletions

View File

@ -498,7 +498,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None):
test_frames = []
for k in range(128):
for k in range(512):
length = random.randint(1, byte_lanes*16)
test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length))
test_frame = AxiStreamFrame(test_data)

View File

@ -495,7 +495,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None):
test_frames = []
for k in range(128):
for k in range(512):
length = random.randint(1, byte_lanes*16)
test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length))
test_frame = AxiStreamFrame(test_data)

View File

@ -284,7 +284,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None):
test_frames = []
for k in range(128):
for k in range(512):
length = random.randint(1, byte_lanes*16)
test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length))
test_frame = AxiStreamFrame(test_data)

View File

@ -284,7 +284,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None):
test_frames = []
for k in range(128):
for k in range(512):
length = random.randint(1, byte_lanes*16)
test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length))
test_frame = AxiStreamFrame(test_data)