Failed unit test: rise::scenario::pathloss::tests::ITUPathlossTest::testRNG
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openWNS RISE |
Fix Committed
|
Critical
|
Daniel Bültmann |
Bug Description
Hi,
after a clean checkout from launchpad, one unittest fails on our systems:
1) test: N4rise8scenario
double equality assertion failed
- Expected: 1
- Actual : 0.881695160600658
- Delta : 0.03
After looking at the code in question in framework/
When changing the stepsize from 0.1 to 0.01 in that test (creates 1000x as many random values) the mean gets closer to 1 but still is not close enough for the test to succeed:
- Expected: 1
- Actual : 0.935649913756681
- Delta : 0.03
So, do you think it is a bug in the simulator, a bug on our system here or was it just a coincidence that it worked OK for you? Or does the test fail for you as well?
Cheers
Jan
We can config the problem and will provide a fix soon.