-
First Group of Tests
clears the bank and saves everything:
Error: done() invoked with non-Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:144:13
at _rejected (node_modules/q/q.js:864:24)
at node_modules/q/q.js:890:30
at Promise.when (node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
at node_modules/q/q.js:624:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
-
First Group of Tests
fetch everything back:
Error: done() invoked with non-Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:162:13
at _rejected (node_modules/q/q.js:864:24)
at node_modules/q/q.js:890:30
at Promise.when (node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
at node_modules/q/q.js:624:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
-
First Group of Tests
change results on server:
Error: done() invoked with non-Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:179:13
at _rejected (node_modules/q/q.js:864:24)
at node_modules/q/q.js:890:30
at Promise.when (node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
at node_modules/q/q.js:624:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
-
First Group of Tests
throw an execption:
AssertionError: expected undefined to equal 'get stuffed'
at test/postgres/amorphic.js:193:37
at _rejected (node_modules/q/q.js:864:24)
at node_modules/q/q.js:890:30
at Promise.when (node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
at node_modules/q/q.js:624:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
-
First Group of Tests
can get it's data freshened:
Error: connect ECONNREFUSED 127.0.0.1:5432
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1163:14)
-
First Group of Tests
can retry an update conflict:
Error: done() invoked with non-Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:234:13
at tryCatcher (node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (node_modules/bluebird/js/release/promise.js:689:18)
at Async._drainQueue (node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues [as _onImmediate] (node_modules/bluebird/js/release/async.js:17:14)
-
First Group of Tests
can do a resetSession:
Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:259:43
at tryCatcher (node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (node_modules/bluebird/js/release/promise.js:689:18)
at Async._drainQueue (node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues [as _onImmediate] (node_modules/bluebird/js/release/async.js:17:14)
-
First Group of Tests
can get a synchronization error:
AssertionError: expected 'An internal error occurred' to equal 'An internal error occured'
-An internal error occurred
+An internal error occured
at test/postgres/amorphic.js:273:31
at tryCatcher (node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (node_modules/bluebird/js/release/promise.js:689:18)
at Async._drainQueue (node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues [as _onImmediate] (node_modules/bluebird/js/release/async.js:17:14)
-
First Group of Tests
change results on server:
Error: done() invoked with non-Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:309:13
at _rejected (node_modules/q/q.js:864:24)
at node_modules/q/q.js:890:30
at Promise.when (node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
at node_modules/q/q.js:624:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
-
Second Group of Tests
clears the bank and saves everything:
Error: done() invoked with non-Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:331:13
at _rejected (node_modules/q/q.js:864:24)
at node_modules/q/q.js:890:30
at Promise.when (node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
at node_modules/q/q.js:624:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
-
Second Group of Tests
fetch everything back:
Error: done() invoked with non-Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:349:13
at _rejected (node_modules/q/q.js:864:24)
at node_modules/q/q.js:890:30
at Promise.when (node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
at node_modules/q/q.js:624:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
-
Second Group of Tests
change results on server:
Error: done() invoked with non-Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:367:13
at _rejected (node_modules/q/q.js:864:24)
at node_modules/q/q.js:890:30
at Promise.when (node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
at node_modules/q/q.js:624:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
-
Second Group of Tests
throw an execption:
AssertionError: expected undefined to equal 'get stuffed'
at test/postgres/amorphic.js:380:37
at _rejected (node_modules/q/q.js:864:24)
at node_modules/q/q.js:890:30
at Promise.when (node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
at node_modules/q/q.js:624:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
-
Second Group of Tests
block calls:
Error: done() invoked with non-Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:413:17
at _rejected (node_modules/q/q.js:864:24)
at node_modules/q/q.js:890:30
at Promise.when (node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
at node_modules/q/q.js:624:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
-
Second Group of Tests
can get it's data freshened:
Error: connect ECONNREFUSED 127.0.0.1:5432
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1163:14)
-
Second Group of Tests
can retry an update conflict:
Error: done() invoked with non-Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:462:13
at tryCatcher (node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (node_modules/bluebird/js/release/promise.js:689:18)
at Async._drainQueue (node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues [as _onImmediate] (node_modules/bluebird/js/release/async.js:17:14)
-
Second Group of Tests
can do a resetSession:
Error: the object {
"code": "internal_error"
"text": "An internal error occurred"
} was thrown, throw an Error :)
at tryCatcher (node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (node_modules/bluebird/js/release/promise.js:689:18)
at Async._drainQueue (node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues [as _onImmediate] (node_modules/bluebird/js/release/async.js:17:14)
-
Second Group of Tests
can get a synchronization error:
AssertionError: expected 'An internal error occurred' to equal 'An internal error occured'
-An internal error occurred
+An internal error occured
at test/postgres/amorphic.js:498:31
at tryCatcher (node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (node_modules/bluebird/js/release/promise.js:689:18)
at Async._drainQueue (node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues [as _onImmediate] (node_modules/bluebird/js/release/async.js:17:14)
-
Second Group of Tests
change results on server:
Error: done() invoked with non-Error: {"code":"internal_error","text":"An internal error occurred"}
at test/postgres/amorphic.js:531:13
at _rejected (node_modules/q/q.js:864:24)
at node_modules/q/q.js:890:30
at Promise.when (node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
at node_modules/q/q.js:624:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
-
Ticket System Test Suite
opens the database:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
-
Ticket System Test Suite
clears the ticket system:
TypeError: Cannot read property 'collection' of undefined
at clearCollection (test/standalone/ticket.js:37:25)
at Context. (test/standalone/ticket.js:70:9)
-
Ticket System Test Suite
can create stuff:
TypeError: db.collection is not a function
at Function.PersistObjectTemplate.savePojoToMongo (node_modules/@havenlife/persistor/dist/lib/mongo/db.js:9:29)
at Function.PersistObjectTemplate.persistSaveMongo (node_modules/@havenlife/persistor/dist/lib/mongo/update.js:228:32)
at template.persistSave (node_modules/@havenlife/persistor/dist/lib/api.js:641:43)
at template.saveModel (test/standalone/model/person.js:24:25)
at Context. (test/standalone/ticket.js:131:13)
-
Ticket System Test Suite
can read stuff back:
TypeError: Cannot read property 'toString' of undefined
at Function.PersistObjectTemplate.getFromPersistWithMongoId (node_modules/@havenlife/persistor/dist/lib/mongo/query.js:4:101)
at Function. (node_modules/@havenlife/persistor/dist/lib/api.js:191:47)
at step (node_modules/@havenlife/persistor/dist/lib/api.js:42:23)
at Object.next (node_modules/@havenlife/persistor/dist/lib/api.js:23:53)
at node_modules/@havenlife/persistor/dist/lib/api.js:17:71
at new Promise ()
at __awaiter (node_modules/@havenlife/persistor/dist/lib/api.js:13:12)
at Function.template.getFromPersistWithId (node_modules/@havenlife/persistor/dist/lib/api.js:181:20)
at Context. (test/standalone/ticket.js:150:17)
-
Ticket System Test Suite
can add 10 tickets:
TypeError: db.collection is not a function
at Function.PersistObjectTemplate.savePojoToMongo (node_modules/@havenlife/persistor/dist/lib/mongo/db.js:9:29)
at Function.PersistObjectTemplate.persistSaveMongo (node_modules/@havenlife/persistor/dist/lib/mongo/update.js:228:32)
at Function.PersistObjectTemplate.persistSaveMongo (node_modules/@havenlife/persistor/dist/lib/mongo/update.js:219:44)
at Function.PersistObjectTemplate.persistSaveMongo (node_modules/@havenlife/persistor/dist/lib/mongo/update.js:146:54)
at template.persistSave (node_modules/@havenlife/persistor/dist/lib/api.js:641:43)
at template.saveModel (test/standalone/model/project.js:104:25)
at Context. (test/standalone/ticket.js:208:24)
-
Ticket System Test Suite
can read back 5 tickets at a time:
TypeError: Cannot read property 'toString' of undefined
at Function.PersistObjectTemplate.getFromPersistWithMongoId (node_modules/@havenlife/persistor/dist/lib/mongo/query.js:4:101)
at Function. (node_modules/@havenlife/persistor/dist/lib/api.js:191:47)
at step (node_modules/@havenlife/persistor/dist/lib/api.js:42:23)
at Object.next (node_modules/@havenlife/persistor/dist/lib/api.js:23:53)
at node_modules/@havenlife/persistor/dist/lib/api.js:17:71
at new Promise ()
at __awaiter (node_modules/@havenlife/persistor/dist/lib/api.js:13:12)
at Function.template.getFromPersistWithId (node_modules/@havenlife/persistor/dist/lib/api.js:181:20)
at Context. (test/standalone/ticket.js:215:17)
-
Ticket System Test Suite
closes the database:
TypeError: Cannot read property 'close' of undefined
at Context. (test/standalone/ticket.js:252:12)
npm ERR! Test failed. See above for more details.