Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random test failures #40

Open
justmoon opened this issue Jul 25, 2012 · 4 comments
Open

Random test failures #40

justmoon opened this issue Jul 25, 2012 · 4 comments

Comments

@justmoon
Copy link
Collaborator

@my8bird posted the following test error:

  ✖ 1 of 41 tests failed:

  1) Iterator db.forRange() should iterate until limit key:

      actual expected

      107

  AssertionError: "107" == ""
      at i (/home/nathan/src/node-leveldb/test/iterator-test.coffee:202:18)
      at exports.Iterator.Iterator.forRange.next (/home/nathan/src/node-leveldb/lib/leveldb/iterator.js:142:9)
      at exports.Iterator.Iterator._wrapSeek (/home/nathan/src/node-leveldb/lib/leveldb/iterator.js:62:28)

I've also been getting intermittent test errors that disappear on the the next run.

@mikepb says:

The tests failures happen randomly. I haven't the time to track down the issue. There's a lot of multithreading involved, that may be the issue.

@my8bird
Copy link
Owner

my8bird commented Jul 25, 2012

Found on Travis CI, http://travis-ci.org/#!/my8bird/node-leveldb/jobs/1951750

✖ 1 of 41 tests failed:

  1) PartitionedBitwiseComparator with flattened args should have keys in order:

  AssertionError: "undefined" == 8
      at /home/vagrant/builds/my8bird/node-leveldb/test/comparator-test.coffee:43:18
      at /home/vagrant/builds/my8bird/node-leveldb/lib/leveldb/iterator.js:142:9
      at /home/vagrant/builds/my8bird/node-leveldb/lib/leveldb/iterator.js:62:28

@my8bird
Copy link
Owner

my8bird commented Aug 2, 2012

Here is another failure form CI: http://travis-ci.org/#!/my8bird/node-leveldb/jobs/2016961

 1) PartitionedBitwiseComparator with flattened args should have keys in order:

  AssertionError: "undefined" == 7
      at /home/vagrant/builds/my8bird/node-leveldb/test/comparator-test.coffee:43:18
      at /home/vagrant/builds/my8bird/node-leveldb/lib/leveldb/iterator.js:142:9
      at /home/vagrant/builds/my8bird/node-leveldb/lib/leveldb/iterator.js:62:28

@my8bird
Copy link
Owner

my8bird commented Aug 2, 2012

It is interesting that it is essentially the same error but slightly different

@justmoon
Copy link
Collaborator Author

justmoon commented Aug 5, 2012

Just noticed that all of the failures on Travis seem to be happening on the Node 0.6 machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants