Page MenuHomePhabricator

Redesign mitkNavigationDataPlayerTest
Closed, ResolvedPublic

Description

The test sometimes fails if the system is loaded or otherwise has inaccurate time measurements, eg when running in a virtual machine. Please check if this can be redesigned, up to then I will deactivate the test. If there is no other option we could introduce a specific CMake variable to activate/deactivate the test on certain systems.

Event Timeline

nolden added a subscriber: nolden.

[SVN revision 20455]
COMP (#3073): deactivated mitkNavigationDataPlayerTest

Adding class author and test author to cc list. Does anyone of you have time to look into this in one of the next bug squashing parties?

Assigning this to default assignee because mbi-bug-manager is not a person and cannot evaluate/reassign this bug. Would you please assign it to the correct product/component and estimate whether it is relevant for the 1.0 release? Thank you.

[ee89ec]: Merge branch 'bug-3073-NavigationDataPlayerTest'

Merged commits:

2011-05-18 15:01:40 Alfred Franz [bd00d5]
fixed bug in test and reactivated test

also extended test with position testing

Dartclient on MacMini (mbi070) fails in Test mitkNavigationDataPlayerTest: "checking for more or less correct time-line [FAILED]

+--> in /dartclient/MITKrelease/MITK/Modules/IGT/Testing/mitkNavigationDataPlayerTest.cpp, line 112, expression is false: "(times[i]>refTimes[i]-50 && times[i]<refTimes[i]+50)". "

for local testing the time interval has been set to 150 and the test passes.

[2f59ef]: Merge branch 'bug-3073-NavigationDataPlayerTestFurtherAdaption'

Merged commits:

2011-06-22 15:15:41 Alfred Franz [e76165]
changed interval from 50 to 150 for MiniMac compatibility