You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
106: Test command: C:\Users\cfantacci\GitHub\pcl\buildd\bin\test_sample_consensus.exe
106: Test timeout computed to be: 9.99988e+06
106: [==========] Running 2 tests from 1 test case.
106: [----------] Global test environment set-up.
106: [----------] 2 tests from SampleConsensus
106: [ RUN ] SampleConsensus.Base
106: [ OK ] SampleConsensus.Base (0 ms)
106: [ RUN ] SampleConsensus.InfiniteLoop
106: ..\test\sample_consensus\test_sample_consensus.cpp(100): error: Value of: thread1.timed_join (delay)
106: Actual: false
106: Expected: true
7/7 Test #106: sample_consensus .................***Failed 1.12 sec
The test simply fails becuase the test checks whether some running threads finish within 1 second or not, while the superslow Debug-compiled code under Windows takes at least (on my PC) 9 seconds.
to differentiate between Debug and Release. I know is not superclean, but testing some code against time constraints is really machine/configuration/time dependent and it is somewhat impredictable, even for trivial-solution algorithms.
Here is the error:
The test simply fails becuase the test checks whether some running threads finish within
1 second
or not, while the superslowDebug
-compiled code under Windows takes at least (on my PC)9 seconds
.I propose the change the following line
pcl/test/sample_consensus/test_sample_consensus.cpp
Line 92 in 521a3ac
as follow
to differentiate between
Debug
andRelease
. I know is not superclean, but testing some code against time constraints is really machine/configuration/time dependent and it is somewhat impredictable, even for trivial-solution algorithms.Further comments in #2399
The text was updated successfully, but these errors were encountered: