consul/ui-v2/tests/unit/utils/dom
John Cowen 22d60ab436 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 17:47:39 +00:00
..
event-source ui: Reduce reconnection attempts on disconnection (#8481) 2020-08-11 17:47:39 +00:00
event-target ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
click-first-anchor-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
closest-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
create-listeners-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
get-component-factory-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
is-outside-test.js ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
normalize-event-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
qsa-factory-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
sibling-test.js ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00