ossdev07 opened a new issue #150: Facing issue with error as statusCode: 500 
while running tests 
URL: https://github.com/apache/couchdb-nano/issues/150
 
 
   uname -a
   Linux fdc92b8680c6 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 
16:33:57 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
   
   Installed couchdb server and ran npm install to install dependencies. Facing 
below issue while running npm test command:
   not ok 267 replication should not fail
   not ok 268 replication should be scheduled
     ---
       operator: ok
       expected: true
       actual:   undefined
       at: <anonymous> 
(/couchdb-nano/tests/integration/database/replicator.js:41:16)
       stack: |-
         Error: replication should be scheduled
             at Test.assert [as _assert] 
(/couchdb-nano/node_modules/tape/lib/test.js:224:54)
             at Test.bound [as _assert] 
(/couchdb-nano/node_modules/tape/lib/test.js:76:32)
             at Test.assert (/couchdb-nano/node_modules/tape/lib/test.js:342:10)
             at Test.bound [as true] 
(/couchdb-nano/node_modules/tape/lib/test.js:76:32)
             at /couchdb-nano/tests/integration/database/replicator.js:41:16
             at Request._callback (/couchdb-nano/lib/nano.js:9:8777)
             at Request.self.callback 
(/couchdb-nano/node_modules/request/request.js:185:22)
             at Request.emit (events.js:182:13)
             at Request.<anonymous> 
(/couchdb-nano/node_modules/request/request.js:1161:10)
             at Request.emit (events.js:182:13)
     ...
   =============================================================================
   Writing coverage object [/couchdb-nano/coverage/coverage.json]
   Writing coverage reports at [/couchdb-nano/coverage]
   =============================================================================
   
   =============================== Coverage summary 
===============================
   Statements   : 84.14% ( 329/391 )
   Branches     : 77.5% ( 155/200 )
   Functions    : 77.78% ( 63/81 )
   Lines        : 83.98% ( 325/387 )
   
================================================================================
   /couchdb-nano/tests/integration/database/replicator.js:42
       assert.true(data.ok, 'replication should be scheduled')
                        ^
   
   TypeError: Cannot read property 'ok' of undefined
       at /couchdb-nano/tests/integration/database/replicator.js:42:22
       at Request._callback (/couchdb-nano/lib/nano.js:9:8777)
       at Request.self.callback 
(/couchdb-nano/node_modules/request/request.js:185:22)
       at Request.emit (events.js:182:13)
       at Request.<anonymous> 
(/couchdb-nano/node_modules/request/request.js:1161:10)
       at Request.emit (events.js:182:13)
       at IncomingMessage.<anonymous> 
(/couchdb-nano/node_modules/request/request.js:1083:12)
       at Object.onceWrapper (events.js:273:13)
       at IncomingMessage.emit (events.js:187:15)
       at endReadableNT (_stream_readable.js:1085:12)
   
   Please find below attachment of complete logs:
   
[couchdb-nano-aarch64-logs.txt](https://github.com/apache/couchdb-nano/files/3025216/couchdb-nano-aarch64-logs.txt)
   
   Could you please guide me in solving this issue.
   Thanks in advance.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to