Bug #15851
Test PropTest uses non-reproducible random stream
0%
Description
The module PropTest
(uboonecode/test/RecoObjects/PropTest_module.cc
) uses C random functions to extract the initial state of the test.
This makes it... hard to reproduce a failure.
Since this is a art test module, the recommended solution is to use the standard RandomNumberGenerator
service (and, why not? NuRandomService
with autoIncrement
policy, or at least not perEvent
, nor random
).
History
#1 Updated by Gianluca Petrillo over 2 years ago
A solution following the recommended prescription has been published as branch feature/gp_Issue15851
of uboonecode
.
The relevant commit is 48eedfec32dd96945f4a2602023b1f116df9191e .
NOTE: with the changes in the feature branch, the test PropTest
will fail. Because I deliberately picked a random seed that triggers a failure. The underlying code requires fix.