consul/ui-v2/tests/unit/utils
John Cowen 43ec04f073
ui: Reduce reconnection attempts on disconnection (#8481)
* ui: Reduce reconnection attempts on disconnection

The UI will attempt to reconnect/retry a blocking query to Consul after
a disconnection in certain circumstances.

1. On receipt of a 5xx error (used for keeping blocking queries running
through reverse proxies that have lowertimeouts than consul itself)
2. When a user switches to a different tab and back again)
3. When the connection to Consul is dropped entirely (when Consul itself
has exited)

In the last case the retry attempts where not using a 3 second interval
between attempts like the first case is.

This commit changes the last case to use the same 3 second pause as the
last case.
2020-08-11 18:47:15 +01:00
..
dom ui: Reduce reconnection attempts on disconnection (#8481) 2020-08-11 18:47:15 +01:00
helpers ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
http ui: Ensure any colons in headers aren't split out (#8293) 2020-07-13 14:22:15 +01:00
routing ui: Fix using 'ui-like' KVs when using an empty default nspace (#7734) 2020-04-30 09:28:20 +01:00
search ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
storage ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
ticker ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
acls-status-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
ascend-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
atob-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
btoa-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
callable-type-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
create-fingerprinter-test.js Ensure ember-data ids are created correct taking into account the nspace (#6974) 2019-12-20 14:30:19 +00:00
get-environment-test.js ui: Add a way to reliably figure out where the UI is running (#7722) 2020-05-12 17:14:36 +00:00
get-form-name-property-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
isFolder-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
keyToArray-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
left-trim-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
maybe-call-test.js ui: Add DataSource component (#7448) 2020-05-12 17:14:18 +00:00
non-empty-set-test.js ui: Acceptance test improvements to prepare for more NS tests (#6980) 2020-01-24 12:26:28 +00:00
promisedTimeout-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
remove-null-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
right-trim-test.js ui: Make sure right trim doesn't try to overtrim (#8171) 2020-06-23 18:34:21 +01:00
templatize-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
ucfirst-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
update-array-object-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00