Test FilterEngineTest, SetRemoveFilterChangeCallback in libadblockplus is failed
|Cc:||fhd, asmirnov||Blocked By:|
|Blocking:||Platform:||Unknown / Cross platform|
Win 32 and *nix
How to reproduce
Compile and run tests.
The output is
... [ RUN ] FilterEngineTest.SetRemoveFilterChangeCallback ..\..\test\FilterEngine.cpp(387): error: Value of: timesCalled Actual: 3 Expected: 2 ..\..\test\FilterEngine.cpp(391): error: Value of: timesCalled Actual: 3 Expected: 2 [ FAILED ] FilterEngineTest.SetRemoveFilterChangeCallback (204 ms)
The test should pass.
There is a race condition, adding of AdblockPlus::Sleep(40/*msec*/); at the beginning of the test body helps.
Change History (4)
comment:1 Changed 11 months ago by sergz
- Resolution set to fixed
- Review URL(s) modified (diff)
- Status changed from new to closed
comment:2 Changed 4 months ago by sergz
- Resolution fixed deleted
- Status changed from closed to reopened