-
-
Notifications
You must be signed in to change notification settings - Fork 506
Random unit testing fail on mosca.persistence.LevelUp #160
Comments
This happened on 0.21.7. I think I fixed it in 0.21.8 (eg I could not Il mercoledì 25 giugno 2014, Morgan Cheng [email protected] ha
|
The bug still exists on 0.21.8 with clean clone and |
Confirmed, a patch on master is coming. My fault :(. |
Pushed. Can you please check on latest master? |
I've merge the comment f9f4cca , but the UT still fails randomly, with different behaviour. Before the fix, it just fails and test case ends. Now, when I run below command:
It may fails with below error, but it never ends. I mean, it just hangs there without returning to console. I have to
41 passing (1s) |
Hope a snapshot of failing ut helps. It actually fails on testcase This can be easily reproduced if I run the UT right after another UT running. I'm not familiar with LevelUp, but it seems "LevelUp" can disfunction if it is "HOT". Just my guess. |
What operating system are you on, what version of node.js? The latest commit solves the original issue, so this must be something else. |
Mac OS 10.9.3 and node v0.10.28 Recently, seems some traivs build fails on this testcase as wel. |
That's harder than I thought. As I'm using random to generate a disambiguation id for the message, causing the fact that we may have messages delivered not in order. Skip that test, I'll work on it. |
I've pushed some stuff, have a look. |
Fetched. I ran the unit test case for 100 times and there is no error again. Good Job! 👍 |
👯 |
I cannot stably reproduce it. On v0.21.8, from time to time the unit testing fails with below message.
The text was updated successfully, but these errors were encountered: