epicsEventTest: quiet WIN32 noise

timeout for WaitForSingleObject() is known to be
shorter than expected.
This commit is contained in:
Michael Davidsaver
2020-04-18 08:24:37 -07:00
parent f1cbe93b6c
commit cd32a7cb1e

View File

@@ -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);
}