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:
parent
3a665f0ded
commit
330d6f41fc
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user