Export to GitHub

mili - issue #44

Failed tests sometimes


Posted on Dec 19, 2011 by Massive Monkey

Mili Test sometimes pass and sometimes fail. I ran the tests five times and UniqueRankerLinealTest.test failed.

[----------] 1 test from UniqueRankerLinealTest [ RUN ] UniqueRankerLinealTest.test projects/mili/tests/ranker_test.cpp:173: Failure Value of: isSorted<PlayersRankingLineal>(it) Actual: false Expected: true [ FAILED ] UniqueRankerLinealTest.test (0 ms) [----------] 1 test from UniqueRankerLinealTest (0 ms total)

Attachments

Comment #1

Posted on Dec 19, 2011 by Quick Lion

Thanks for reporting the bug.

Comment #2

Posted on Dec 19, 2011 by Massive Monkey

could you reproduce it?

Comment #3

Posted on Dec 26, 2011 by Massive Monkey

Maybe the error is related to the struct DummyComparator which always return true in operator().
struct DummyComparator is used in: class UniqueRankerLineal : public BaseUniqueRanker, DisposalPolicy>

Comment #4

Posted on Dec 31, 2011 by Quick Lion

is this fixed?

Comment #5

Posted on Dec 31, 2011 by Massive Monkey

yes, problem resolved at r289

Comment #6

Posted on Dec 31, 2011 by Helpful Bear

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium