Commit d4cab43
committed
test/multicqes_drain: reset multi_cap between test_generic_drain calls
multi_cap is a global that caps the number of multishot SQEs per run.
It gets decremented during SQE generation but was never reset between
iterations, so calls 2-5 of test_generic_drain() could not generate any
multishot SQEs (multi_cap <= 0 makes retry1 always true). With no
multishot SQEs, cancel ops are also excluded (cnt stays 0), leaving
only single and nop ops for those iterations.
Reset multi_cap at the start of each call.
Signed-off-by: Sebastian Chlad <sebastian.chlad@suse.com>1 parent 6a31241 commit d4cab43
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
0 commit comments