Skip to content

Conversation

@jannyHou
Copy link
Contributor

@jannyHou jannyHou commented Apr 16, 2019

Description

A follow up PR for loopbackio/loopback-connector-couchdb2#59.
Fix the 2 tests mentioned in loopbackio/loopback-connector-couchdb2#59 by adding index to the title field.

Related issues

  • connect to <link_to_referenced_issue>

Checklist

  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style
    guide

@jannyHou jannyHou force-pushed the fix/add-index-for-couchdb branch from 4f061eb to 5d9fe4e Compare April 16, 2019 21:20
@jannyHou
Copy link
Contributor Author

mongodb(NOT related)

 1) lazyConnect
17:39:33        should report connection error (lazyConnect = false):
17:39:33      Uncaught AssertionError: expected 'connect ECONNREFUSED 127.0.0.1:4' to match /failed to connect to server/

17:39:33   2) mongodb connector
17:39:33        .ping(cb)
17:39:33          should report connection errors with invalid config:
17:39:33      Uncaught AssertionError: expected 'connect ECONNREFUSED 127.0.0.1:4' to match /failed to connect to server/

rest(NOT related)

1) REST connector
17:39:17        custom operations
17:39:17          should mix in custom methods:
17:39:17 
17:39:17       Uncaught AssertionError: You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account
17:39:17       + expected - actual
17:39:17 
17:39:17       -REQUEST_DENIED
17:39:17       +OK
17:39:17 
17:39:17   2) REST connector
17:39:17        custom operations
17:39:17          should mix in custom methods for all functions:
17:39:17 
17:39:17       Uncaught AssertionError: You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account
17:39:17       + expected - actual
17:39:17 
17:39:17       -REQUEST_DENIED
17:39:17       +OK
17:39:17 
17:39:17   3) REST connector
17:39:17        custom operations
17:39:17          should mix in predefined default values for all functions:
17:39:17 
17:39:17       Uncaught AssertionError: You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account
17:39:17       + expected - actual
17:39:17 
17:39:17       -REQUEST_DENIED
17:39:17       +OK
17:39:17   4) REST connector
17:39:17        custom operations
17:39:17          should mix in invoke method:
17:39:17 
17:39:17       Uncaught AssertionError: You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account
17:39:17       + expected - actual
17:39:17 
17:39:17       -REQUEST_DENIED
17:39:17       +OK
17:39:17       

kv-redis(NOT related)

17:37:54 Attempting to pre-seed local npm cache...
17:38:16 + npm install
17:39:03 npm ERR! Linux 4.4.0-127-generic
17:39:03 npm ERR! argv "/home/jenkins/.nvm/versions/node/v6.17.1/bin/node" "/home/jenkins/.nvm/versions/node/v6.17.1/bin/npm" "install"
17:39:03 npm ERR! node v6.17.1
17:39:03 npm ERR! npm  v3.10.10
17:39:03 npm ERR! code E404

kv-extream-scale(NOT related)

12 failures due to same reason:
Error: connect ECONNREFUSED 158.85.204.81:9444

DB2(NOT related)

17:30:19 /home/jenkins/workspace/ds/loopback-connector-db2~master/pretest.js:53
17:30:19   if (err) throw err;
17:30:19            ^
17:30:19 Error: [IBM][CLI Driver] SQL30081N  A communication error has been detected. Communication protocol being used: "TCP/IP".  Communication API being used: "SOCKETS".  Location where the error was detected: "9.30.161.236".  Communication function detecting the error: "selectForConnectTimeout".  Protocol specific error code(s): "115", "*", "*".  SQLSTATE=08001
17:30:19 
17:30:19     at Error (native)
17:30:19 

DashDB(NOT related)

17:30:21 /home/jenkins/workspace/ds/loopback-connector-dashdb~master/pretest.js:53
17:30:21   if (err) throw err;
17:30:21            ^
17:30:21 Error: [IBM][CLI Driver] SQL30081N  A communication error has been detected. Communication protocol being used: "TCP/IP".  Communication API being used: "SOCKETS".  Location where the error was detected: "9.30.218.42".  Communication function detecting the error: "selectForConnectTimeout".  Protocol specific error code(s): "115", "*", "*".  SQLSTATE=08001
17:30:21 
17:30:21     at Error (native)

Cloudant(NOT related)

See https://cis-jenkins.swg-devops.com/job/ds/job/loopback-connector-cloudant~master/49/console, 2 known errors will be fixed after releasing loopback-connector-couchdb2

Copy link
Contributor

@b-admike b-admike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@hacksparrow hacksparrow self-requested a review April 17, 2019 15:37
@jannyHou jannyHou merged commit f21e770 into 3.x Apr 17, 2019
b-admike pushed a commit that referenced this pull request Apr 18, 2019
 * fix: coerce primitive properties on update (biniam)
 * fix: coerce date array properties (biniam)
 * fix: add index for couchdb tests (#1720) (Janny)
@rmg rmg deleted the fix/add-index-for-couchdb branch March 18, 2021 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants