Skip to content

Commit f3a85d4

Browse files
authored
Merge pull request #5401 from chunfuwen/fix_rng_dd_cmd_timeout
Fix rng dd command timeout issue
2 parents 5e92de8 + 40b1324 commit f3a85d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libvirt/tests/src/libvirt_rng.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def check_guest(session, expect_fail=False,
377377
rng_rate = params.get("rng_rate")
378378
# For rng rate test this command and return in a short time
379379
# but for other test it will hang
380-
cmd = ("dd if=/dev/hwrng of=rng.test count=100"
380+
cmd = ("dd if=/dev/hwrng of=rng.test bs=1M count=10"
381381
" && rm -f rng.test")
382382
try:
383383
ret, output = session.cmd_status_output(cmd, timeout=timeout)

0 commit comments

Comments
 (0)