Skip to content

Instantly share code, notes, and snippets.

@jbeard4
Created March 14, 2013 01:08
Show Gist options
  • Save jbeard4/5157990 to your computer and use it in GitHub Desktop.
Save jbeard4/5157990 to your computer and use it in GitHub Desktop.
sails stack trace
jacob@jacob-ThinkPad-W520:~/workspace/sails/sails$ npm test
> [email protected] test /home/jacob/workspace/sails/sails
> node test/start.js
debug: Running tests...
debug: Testing active record (aka waterline)...
-------------------------------------------------------
⋅⋅⋅✈⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
-------------------------------------------------------
error: ✖ 2 of 126 tests failed:
error:
error: 1) transactions app-level transaction should be able to acquire lock:
ReferenceError: sails is not defined
at Object.normalizeCriteria [as criteria] (/home/jacob/workspace/sails/sails/lib/waterline/normalize.js:21:7)
at module.exports.findAll (/home/jacob/workspace/sails/sails/lib/waterline/adapter.js:173:24)
at Collection.findAll (/home/jacob/workspace/sails/sails/lib/waterline/collection.js:305:23)
at afterCreatingTransaction (/home/jacob/workspace/sails/sails/lib/waterline/adapter.js:379:31)
at /home/jacob/workspace/sails/sails/lib/waterline/collection.js:658:10
at module.exports.adapter.create (/home/jacob/workspace/sails/sails/node_modules/sails-dirty/DirtyAdapter.js:220:14)
at callbacks (/home/jacob/workspace/sails/sails/node_modules/sails-dirty/node_modules/dirty/lib/dirty/dirty.js:177:18)
at Dirty._flush.bundleStr (/home/jacob/workspace/sails/sails/node_modules/sails-dirty/node_modules/dirty/lib/dirty/dirty.js:198:11)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
error: 2) case sensitivity "before all" hook:
Error: timeout of 8000ms exceeded
at Object.<anonymous> (/home/jacob/workspace/sails/sails/node_modules/mocha/lib/runnable.js:167:14)
at Timer.list.ontimeout (timers.js:101:19)
debug: Tests complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment