David Johnson created USERGRID-1261:
---------------------------------------
Summary: notifications.js test failures
Key: USERGRID-1261
URL: https://issues.apache.org/jira/browse/USERGRID-1261
Project: Usergrid
Issue Type: Bug
Reporter: David Johnson
New integration tests in notifications.js are failing on Jenkins (local and
remote) with errors like this:
1) should send a single notification to a user
notification -> user - via matrix query
2) should send a single notification to a user
notification -> groups - via matrix query
3) should send a single notification to groups with the same users
teardown
4) "after all" hook
22 passing (6s)
4 failing
1) ** Usergrid REST Integration Tests ** notifications notification -> user -
direct path should send a single notification to a user:
Uncaught AssertionError: expected {
duration: 0,
error: 'uncaught',
error_description: 'Internal Server Error',
error_id: '995d68a5-d3f2-11e5-8ac9-32aa25126e99',
exception: 'org.apache.usergrid.rest.exceptions.UncaughtException',
timestamp: 1455547461327
} to be null
at Assertion.fail (node_modules/should/lib/assertion.js:183:17)
at Assertion.prop.(anonymous function)
(node_modules/should/lib/assertion.js:68:17)
at test/notifications/notifications.js:250:43
at Request._callback (lib/notifications.js:33:9)
at Request.self.callback (node_modules/request/request.js:197:22)
at Request.<anonymous> (node_modules/request/request.js:1050:14)
at IncomingMessage.<anonymous> (node_modules/request/request.js:996:12)
at endReadableNT (_stream_readable.js:905:12)
2) ** Usergrid REST Integration Tests ** notifications notification -> user -
via matrix query should send a single notification to a user:
Uncaught AssertionError: expected {
duration: 0,
error: 'uncaught',
error_description: 'Internal Server Error',
error_id: '99faba1f-d3f2-11e5-8ac9-32aa25126e99',
exception: 'org.apache.usergrid.rest.exceptions.UncaughtException',
timestamp: 1455547462358
} to be null
at Assertion.fail (node_modules/should/lib/assertion.js:183:17)
at Assertion.prop.(anonymous function)
(node_modules/should/lib/assertion.js:68:17)
at test/notifications/notifications.js:273:43
at Request._callback (lib/notifications.js:33:9)
at Request.self.callback (node_modules/request/request.js:197:22)
at Request.<anonymous> (node_modules/request/request.js:1050:14)
at IncomingMessage.<anonymous> (node_modules/request/request.js:996:12)
at endReadableNT (_stream_readable.js:905:12)
3) ** Usergrid REST Integration Tests ** notifications notification -> groups
- via matrix query should send a single notification to groups with the same
users:
Uncaught AssertionError: expected {
duration: 0,
error: 'uncaught',
error_description: 'Internal Server Error',
error_id: '9a9636d9-d3f2-11e5-8ac9-32aa25126e99',
exception: 'org.apache.usergrid.rest.exceptions.UncaughtException',
timestamp: 1455547463375
} to be null
at Assertion.fail (node_modules/should/lib/assertion.js:183:17)
at Assertion.prop.(anonymous function)
(node_modules/should/lib/assertion.js:68:17)
at test/notifications/notifications.js:296:43
at Request._callback (lib/notifications.js:33:9)
at Request.self.callback (node_modules/request/request.js:197:22)
at Request.<anonymous> (node_modules/request/request.js:1050:14)
at IncomingMessage.<anonymous> (node_modules/request/request.js:996:12)
at endReadableNT (_stream_readable.js:905:12)
4) ** Usergrid REST Integration Tests ** "after all" hook:
Uncaught AssertionError: expected {
duration: 0,
error: 'uncaught',
error_description: 'Internal Server Error',
error_id: '9ac0f049-d3f2-11e5-8ac9-32aa25126e99',
exception: 'org.apache.usergrid.rest.exceptions.UncaughtException',
timestamp: 1455547463656
} to be null
at Assertion.fail (node_modules/should/lib/assertion.js:183:17)
at Assertion.prop.(anonymous function)
(node_modules/should/lib/assertion.js:68:17)
at test/teardown.js:77:39
at Request._callback (lib/entities.js:58:17)
at Request.self.callback (node_modules/request/request.js:197:22)
at Request.<anonymous> (node_modules/request/request.js:1050:14)
at IncomingMessage.<anonymous> (node_modules/request/request.js:996:12)
at endReadableNT (_stream_readable.js:905:12)
Build step 'Execute shell' marked build as failure
Finished: FAILURE
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)