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:
1 parent
1255cdc9ee
commit
c8b60e0f1b
1 file changed
+5
@@ -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