Skip to content
Commit 490645d0 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

idr test suite: Fix ida_test_random()



The test was checking the wrong errno; ida_get_new_above() returns
EAGAIN, not ENOMEM on memory allocation failure.  Double the number of
threads to increase the chance that we actually exercise this path
during the test suite (it was a bit sporadic before).

Signed-off-by: default avatarMatthew Wilcox <mawilcox@microsoft.com>
parent 051803c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment