diff --git a/src/tests/test_set_lk_max_locks.c b/src/tests/test_set_lk_max_locks.c index 34daf85b85b..f5a248d80ad 100644 --- a/src/tests/test_set_lk_max_locks.c +++ b/src/tests/test_set_lk_max_locks.c @@ -105,7 +105,7 @@ static void make_db (int n_locks) { if (r!=0) printf("r=%d on i=%d j=%d eff=%d\n", r, i, j, effective_n_locks); CKERR(r); } - else CKERR2(r, TOKUDB_OUT_OF_LOCKS); + else CKERR2(r, ENOMEM); #endif } }