Page MenuHomePhabricator

mitkGIFVolumetricDensityStatisticsTest fails randomly
Closed, ResolvedPublic

Description

mitkGIFVolumetricDensityStatisticsTest fails randomly (Linux, gcc 8):

282: 1) test: mitkGIFVolumetricDensityStatisticsTestSuite::ImageDescription_PhantomTest (F) line: 84 ../../MITK/Modules/Classification/CLUtilities/test/mitkGIFVolumetricDensityStatisticsTest.cpp
282: double equality assertion failed
282: - Expected: 0.24
282: - Actual  : 0
282: - Delta   : 0.01
282: - Morphological Density::Volume Volume minimum volume enclosing ellipsoid with Large IBSI Phantom Image

If there is some random number generator involved it would be useful to print out the seed value to help debugging the issue.

Event Timeline

nolden triaged this task as High priority.Jun 22 2018, 10:03 AM
nolden created this task.

Among other tests, this one is fixed this in the master branch. I cherry-picked most commits from @goetzm into the beta branch and most tests also work in the beta branch now but this single one is still failing randomly.
@goetzm Please help identify the commit in the master that fixes this particular test.