db/test: dbStressLock skip for RTEMS
This test assumes that several threads with equal priority will all run eventually. This isn't true an UP target without time sliced scheduling (eg. RTEMS).
This commit is contained in:
@@ -228,6 +228,11 @@ MAIN(dbStressTest)
|
||||
|
||||
testPlan(80+nworkers*3);
|
||||
|
||||
#if defined(__rtems__)
|
||||
testSkip(80+nworkers*3, "Test assumes time sliced preempting scheduling");
|
||||
return testDone();
|
||||
#endif
|
||||
|
||||
priv = callocMustSucceed(nworkers, sizeof(*priv), "no memory");
|
||||
|
||||
testDiag("lock set stress test");
|
||||
|
||||
Reference in New Issue
Block a user