Untitled

 avatar
unknown
plain_text
3 years ago
4.3 kB
19
Indexable
2022-10-05 11:29:27.98 <debug> (CollectionObject.js:312) update SSO
2022-10-05 11:29:27.98 <debug> (MongoDBObject.js:100) doDBS: mongo already connectted userDB


  4819 passing (15m)
  39 pending
  9 failing

  1) search
       [TODO:DECOUPLE] Global search testing a type in search case
         String search:
     Error: Timeout of 50000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/jwang2/zingcloud/nodejs/https/server/unit_test/api/dashboardapi/v03/search.test.js)
      at listOnTimeout (node:internal/timers:559:17)
      at processTimers (node:internal/timers:502:7)

  2) search
       [TODO:DECOUPLE] Global search testing a type in search case
         search for alerts:
     Error: Request Timeout after 30000ms
      at /Users/jwang2/zingcloud/nodejs/https/server/node_modules/elasticsearch/src/lib/transport.js:336:15
      at Timeout.<anonymous> (node_modules/elasticsearch/src/lib/transport.js:365:7)
      at listOnTimeout (node:internal/timers:559:17)
      at processTimers (node:internal/timers:502:7)

  3) search
       [TODO:DECOUPLE] Global search testing a type in search case
         test doSearch function:
     Error: Timeout of 50000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/jwang2/zingcloud/nodejs/https/server/unit_test/api/dashboardapi/v03/search.test.js)
      at listOnTimeout (node:internal/timers:559:17)
      at processTimers (node:internal/timers:502:7)

  4) search
       [TODO:DECOUPLE] Global search testing a type in search case
         test doSearch function 2:
     Error: Timeout of 50000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/jwang2/zingcloud/nodejs/https/server/unit_test/api/dashboardapi/v03/search.test.js)
      at listOnTimeout (node:internal/timers:559:17)
      at processTimers (node:internal/timers:502:7)

  5) search
       [TODO:DECOUPLE] Global search testing a type in search case
         test doSearch dedupe function:
     TypeError: Cannot read properties of undefined (reading 'total')
      at /Users/jwang2/zingcloud/nodejs/https/server/unit_test/api/dashboardapi/v03/search.test.js:147:36
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)

  6) search
       [TODO:DECOUPLE] Global search testing a type in search case
         test doSearch function for multiple tenants:
     TypeError: Cannot read properties of undefined (reading 'total')
      at /Users/jwang2/zingcloud/nodejs/https/server/unit_test/api/dashboardapi/v03/search.test.js:168:36
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)

  7) [TODO:DECOUPLE] Test MIST
       testMistConnection
         should return connected:
     Uncaught Error: self signed certificate in certificate chain
      at TLSSocket.onConnectSecure (node:_tls_wrap:1532:34)
      at TLSSocket.emit (node:events:527:28)
      at TLSSocket.emit (node:domain:475:12)
      at TLSSocket._finishInit (node:_tls_wrap:946:8)
      at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:727:12)

  8) testing general env settings
       testing node version of the machine
         should test with appropriate node version:

      AssertionError: expected 'v16.16.0' to equal 'v16.14.2'
      + expected - actual

      -v16.16.0
      +v16.14.2
      
      at Context.<anonymous> (unit_test/general.test.js:8:34)
      at processImmediate (node:internal/timers:466:21)

  9) MongoDBObject test
       test MongoDBObject buildURI() function
         should get mongo connect string without SSL and authSource:

      AssertionError: expected 'mongodb://zingbox:abc123@localhost:27…' to equal 'mongodb://zingbox:abc123@unit-test-mo…'
      + expected - actual

      -mongodb://zingbox:abc123@localhost:27017/unit_test?replicaSet=zc-rs-unittest
      +mongodb://zingbox:abc123@unit-test-mongo001.cloud.zingbox.com:27017,unit-test-mongo002.cloud.zingbox.com:27017/xiar?replicaSet=zc-rs-unittest
      
      at Context.<anonymous> (unit_test/lib/mongo/MongoDBObject.test.js:44:41)
      at processImmediate (node:internal/timers:466:21)
Editor is loading...