epicsEventTest: quiet WIN32 noise
timeout for WaitForSingleObject() is known to be shorter than expected.
This commit is contained in:
1 parent
f1cbe93b6c
commit
cd32a7cb1e
1 file changed
+6
@@ -171,6 +171,10 @@ static double eventWaitCheckDelayError( const epicsEventId &id, const double & d
|
||||
#define WAITCOUNT 21
|
||||
static void eventWaitTest()
|
||||
{
|
||||
#if defined(_WIN32) || defined(__rtems__) || defined(vxWorks)
|
||||
testTodoBegin("Known issue with delay calculation");
|
||||
#endif
|
||||
|
||||
epicsEventId event = epicsEventMustCreate(epicsEventEmpty);
|
||||
double errorSum = eventWaitCheckDelayError(event, 0.0);
|
||||
|
||||
@@ -181,6 +185,8 @@ static void eventWaitTest()
|
||||
double meanError = errorSum / WAITCOUNT;
|
||||
testOk(meanError < 0.05, "Mean delay error was %.6f sec", meanError);
|
||||
|
||||
testTodoEnd();
|
||||
|
||||
epicsEventDestroy(event);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user