test: fix oom_callback() nasty bug.

This commit is contained in:
Leo Yuriev 2017-05-28 13:09:36 +03:00
parent f945e8a062
commit 9318e4cabb

View File

@ -104,7 +104,7 @@ int testcase::oom_callback(MDBX_env *env, int pid, mdbx_tid_t tid, uint64_t txn,
osal_yield();
if (retry > 0)
osal_udelay(retry * 100);
return 1 /* always retry */;
return 0 /* always retry */;
}
return -1;