apisix/t/node
YuanSheng Wang 50c99a5e3b
bugfix: create etcd object in xpcall, this step may fail (#2312)
* bugfix: create the etcd object in `xpcall`, it may fail, the return values of `etcd.new` should be `res, err`.

fix issue: #2310

1. The old process, if creating etcd fails, etcd data will no longer be synchronized. We need to create the etcd object in xpcall.
2. the return value should be res, err of etcd.new.

* test: old test case is unstable, should delete some checkpoint which is wrong.
2020-10-05 10:22:28 +08:00
..
chash-balance.t bugfix: fail to get the http request header by ngx.var. * (#1348) 2020-03-27 23:13:46 +08:00
chash-hashon.t bugfix: fail to get the http request header by ngx.var. * (#1348) 2020-03-27 23:13:46 +08:00
consumer-plugin.t bugfix: when the plug-in configuration that is bound to the consumer is (#2028) 2020-08-12 09:11:40 +08:00
ewma.t test: wait for more time and check the error log, old way is unstable. (#2341) 2020-09-30 17:05:46 +08:00
filter_func.t test: add test case for route with filter_func. (#1683) 2020-06-11 11:03:02 +08:00
global-rule.t fix: skip tombstone mark when iterating the global values (#1517) 2020-04-28 17:25:55 +08:00
healthcheck-ipv6.t change: don't strip square brackets from the IPv6 (#822) 2019-11-11 09:49:22 +08:00
healthcheck-multiple-worker.t license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
healthcheck-passive.t bugfix: passive health check seems never provide a healthy report (#1918) 2020-07-31 19:31:20 +08:00
healthcheck-stop-checker.t license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
healthcheck.t test: before creating and deleting routes in batches, clear all routes first (#2253) 2020-09-18 18:43:02 +08:00
hosts.t change: responsed a better tip when failed to match any route. (#1013) 2020-01-03 10:11:37 +08:00
invalid-route.t test: wait for more time and check the error log, old way is unstable. (#2341) 2020-09-30 17:05:46 +08:00
invalid-service.t bugfix: create etcd object in xpcall, this step may fail (#2312) 2020-10-05 10:22:28 +08:00
invalid-upstream.t test: wait for more time and check the error log, old way is unstable. (#2341) 2020-09-30 17:05:46 +08:00
merge-route.t bugfix: independently check the "disabled" field to avoid schema ve… (#2099) 2020-09-17 22:31:02 +08:00
not-exist-service.t change: responsed a better tip when failed to match any route. (#1013) 2020-01-03 10:11:37 +08:00
not-exist-upstream.t refactory: collect upstream logic and put them in a single file. (#1734) 2020-06-22 14:21:42 +08:00
remote_addrs.t change: responsed a better tip when failed to match any route. (#1013) 2020-01-03 10:11:37 +08:00
remote-addr-ipv6.t feature: add apisix-version info to headers in APISIX core (#1961) 2020-08-15 07:24:33 +08:00
remote-addr.t change: responsed a better tip when failed to match any route. (#1013) 2020-01-03 10:11:37 +08:00
route-delete.t test: before creating and deleting routes in batches, clear all routes first (#2253) 2020-09-18 18:43:02 +08:00
route-domain-with-local-dns.t Revert "feat(http-logger): support for specified the log formats via admin API (#2294)" (#2307) 2020-09-24 23:50:22 +08:00
route-domain.t Revert "feat(http-logger): support for specified the log formats via admin API (#2294)" (#2307) 2020-09-24 23:50:22 +08:00
route-filter-func.t change: responsed a better tip when failed to match any route. (#1013) 2020-01-03 10:11:37 +08:00
route-host.t change: responsed a better tip when failed to match any route. (#1013) 2020-01-03 10:11:37 +08:00
route-parameter-uri.t update radixtree to version 2.2 . (#2061) 2020-08-16 16:32:29 +08:00
route-uris.t change: responsed a better tip when failed to match any route. (#1013) 2020-01-03 10:11:37 +08:00
rr-balance.t feature: divide config.yaml into two files config-custom.yaml & confi… (#2023) 2020-08-18 20:18:55 +08:00
sanity-radixtree.t change: responsed a better tip when failed to match any route. (#1013) 2020-01-03 10:11:37 +08:00
service-empty.t test: wait for more time and check the error log, old way is unstable. (#2341) 2020-09-30 17:05:46 +08:00
timeout-upstream.t license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
upstream-array-nodes.t test: updated style. (#1606) 2020-05-22 21:34:58 +08:00
upstream-domain.t bugfix: use the route's has_domain if it contains any upstream object. (#2211) 2020-09-15 12:12:09 +08:00
upstream-ipv6.t change: responsed a better tip when failed to match any route. (#1013) 2020-01-03 10:11:37 +08:00
upstream-node-dns.t feature: divide config.yaml into two files config-custom.yaml & confi… (#2023) 2020-08-18 20:18:55 +08:00
upstream-retries.t feature: allow to set retries=0 for upstream object. (#1919) 2020-07-29 19:21:50 +08:00
upstream-websocket.t feature: supported to enable Websocket in upstream object (#1051) 2020-01-14 14:37:24 +08:00
upstream.t feat: support different modes to pass host to upstream (#2132) 2020-08-30 22:43:28 +08:00
vars.t change: update resty-radixtree to version 1.9 . (#1730) 2020-06-19 12:24:52 +08:00
wildcard-host.t change: responsed a better tip when failed to match any route. (#1013) 2020-01-03 10:11:37 +08:00