Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: add index for couchdb #1720

Merged
merged 1 commit into from Apr 17, 2019

Conversation

Projects
None yet
3 participants
@jannyHou
Copy link
Contributor

commented Apr 16, 2019

Description

A follow up PR for strongloop/loopback-connector-couchdb2#59.
Fix the 2 tests mentioned in strongloop/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 Apr 16, 2019

@jannyHou

This comment has been minimized.

Copy link
Contributor Author

commented Apr 17, 2019

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

@b-admike
Copy link
Member

left a comment

👏

@hacksparrow hacksparrow self-requested a review Apr 17, 2019

@jannyHou jannyHou merged commit f21e770 into 3.x Apr 17, 2019

28 of 37 checks passed

[cis-jenkins] PR Builder Build finished.
Details
[cis-jenkins] downstream: loopback-connector-cloudant@master Failed! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-dashdb@master Failed! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-db2@master Failed! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-kv-extreme-scale@master Failed! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-kv-redis@master Failed! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-mongodb@3.x Failed! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-rest@master Failed! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-ibmdb@master Failed! (5d9fe4e)
Details
Commit Linter commits are all properly formatted
Details
PR Linter PR is up to date
Details
[cis-jenkins] downstream: angular-live-set@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-cassandra@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-couchdb2@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-grpc@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-mongodb@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-mssql@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-mysql@4.x Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-mysql@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-oracle@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-postgresql@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector-remote@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-connector@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback-sdk-angular@master Success! (5d9fe4e)
Details
[cis-jenkins] downstream: loopback@master Success! (5d9fe4e)
Details
[cis-jenkins] x64 && linux && nvm,10 Success! (5d9fe4e)
Details
[cis-jenkins] x64 && linux && nvm,6 Success! (5d9fe4e)
Details
[cis-jenkins] x64 && linux && nvm,8 Success! (5d9fe4e)
Details
clahub All contributors have signed the Contributor License Agreement.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 83.931%
Details
loopback-datasource-juggler Success! (5d9fe4e)
Details
loopback-datasource-juggler/node=4.x,os=windows Success! (5d9fe4e)
Details
loopback-datasource-juggler/node=6.x,os=windows Success! (5d9fe4e)
Details
pr-builder
Details
security/snyk - package.json (StrongLoop) No manifest changes detected

b-admike added a commit that referenced this pull request Apr 18, 2019

3.30.0
 * fix: coerce primitive properties on update (biniam)
 * fix: coerce date array properties (biniam)
 * fix: add index for couchdb tests (#1720) (Janny)

@jannyHou jannyHou referenced this pull request Apr 22, 2019

Closed

Fix CI #60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.