loopback-datasource-juggler/test
Raymond Feng 5a66f9ad72 Fix datasource state management
Use case:
1. Configure a datasource with lazyConnect = true
2. Do NOT start the DB
3. Start the app
4. Send first request and it fails to connnect to the DB
5. Start the DB
5. Requests are now served correctly
2018-05-22 10:46:45 -07:00
..
fixtures/loopback-connector-throwing Fix datasource to report connector-loading errors 2017-02-03 20:29:11 +01:00
helpers test/helpers: annotate skipped tests 2017-06-07 14:05:48 -04:00
kvao Add missing return for KVAO delete all 2017-01-13 00:19:10 -08:00
operation-hooks.suite Upgrade eslint-config, fix new violations 2017-02-01 12:45:56 +01:00
CustomTypeForeignKey.test.js Fix manually 2016-08-22 19:20:12 -04:00
allow-extended-operators.test.js Refactor logic of options.allowExtendedOperators 2017-01-30 00:05:56 +01:00
async-observer.test.js Fix manually 2016-08-22 19:20:12 -04:00
basic-querying.test.js Run juggler tests for Cloudant (#1414) 2017-07-11 14:56:39 -04:00
common.batch.js Fix manually 2016-08-22 19:20:12 -04:00
common_test.js Upgrade eslint-config to 7.x 2017-01-06 13:33:54 +01:00
crud-with-options.test.js Fix block padding 2016-12-13 16:05:50 -08:00
datasource.test.js Fix datasource state management 2018-05-22 10:46:45 -07:00
datatype.test.js Fix basic-querying (#1509) 2017-10-16 16:07:01 -04:00
date-string.test.js Add DateString type 2017-05-01 12:28:59 -04:00
default-scope.test.js override collection name for arangodb (#1243) 2017-03-20 09:01:16 -04:00
defaults.test.js Fix block padding 2016-12-13 16:05:50 -08:00
discovery.test.js Fix eslint errors reported by the latest eslint 2016-12-20 17:37:54 +01:00
exclude-base-props.test.js fix assert, make the test case more clear 2017-05-12 11:47:50 -07:00
geo.test.js handle deep geo-near queries (#1314) 2017-04-13 17:05:05 -04:00
hooks.test.js Fix block padding 2016-12-13 16:05:50 -08:00
include.test.js Run juggler tests for Cloudant (#1414) 2017-07-11 14:56:39 -04:00
include_util.test.js Fix manually 2016-08-22 19:20:12 -04:00
init.js Add test case for all connectors 2017-02-14 14:01:44 -05:00
introspection.test.js Fix block padding 2016-12-13 16:05:50 -08:00
json.test.js Upgrade eslint & config to latest 2016-12-05 15:14:09 +01:00
kv-memory.js Refactor flush to deleteAll 2017-01-09 14:53:34 -08:00
kvao.suite.js test/kvao: add connectorCapabilities options 2016-10-19 11:06:17 +02:00
loopback-data.test.js Fix manually 2016-08-22 19:20:12 -04:00
loopback-dl.test.js Allow toObject() to accept an 'options' argument 2018-05-10 10:18:55 -07:00
manipulation.test.js Catch err using Callback 2017-08-16 17:00:41 -04:00
memory.test.js Use dataSource.connect to avoid duplicate connects 2017-04-04 10:19:58 -07:00
mixins.test.js Fix block padding 2016-12-13 16:05:50 -08:00
mock-connectors.js Fix manually 2016-08-22 19:20:12 -04:00
model-builder.test.js Set model constructor name to model name 2018-01-08 09:37:23 +01:00
model-definition.test.js configurable model merge 2017-05-10 02:33:45 +02:00
model-inheritance.test.js Flag id as updateOnly when forceId is in effect (#1453) 2017-08-22 13:09:45 -07:00
normalize-undefined.test.js Fix undefined properties in where 2017-08-03 14:09:21 -04:00
optional-validation.test.js Fix id update error message formatting 2017-02-15 18:26:32 +01:00
performance.coffee Reformat the code 2014-01-24 09:09:53 -08:00
persistence-hooks.suite.js Added error handling for persist operation hook (#1531) 2018-01-24 11:37:30 -05:00
relations.test.js feat: omit default fn for embedsMany (#1532) 2018-04-13 13:17:40 -04:00
schema.test.js Fix block padding 2016-12-13 16:05:50 -08:00
scope.test.js Fix block padding 2016-12-13 16:05:50 -08:00
spec_helper.js Fix manually 2016-08-22 19:20:12 -04:00
test1-schemas.json Reformat the code 2014-01-24 09:09:53 -08:00
test2-schemas.json Reformat the code 2014-01-24 09:09:53 -08:00
transaction.test.js Add a better way to handle transactions 2017-09-06 07:10:57 +02:00
transient.test.js Fix block padding 2016-12-13 16:05:50 -08:00
util.test.js Fix bug in utils uniq function (#1526) 2017-12-04 15:39:58 -05:00
validations.test.js Pass options argument to custom validators 2018-03-22 15:51:21 +01:00