status-react/test
Andrea Maria Piana a8c39370d5
Fire request once network status changes & periodically check connection
This commit fixes a couple of issues.

The first one is that when we go from offline->cellular-network->wifi
historical requests were not triggered (only when going from
offline->online, but if they are disabled in cellular network they won't
fire).

The second is due to the fact that it is possible that the connection
status gets into a bad state, (this happens for example if get-latency
returns all errors, but we are online, and it won't be retried), and no
connection attempt is made anymore.

I have changed the logic to periodically check the connection state, and
try to connect if too much time has passed since last error (10s),
similarly to what we did before, but in a tick, so we are less reliant
on having the right state in the db.

Signed-off-by: yenda <eric@status.im>
2020-01-27 11:52:34 +01:00
..
appium align e2e 2020-01-21 15:21:52 +01:00
cljs Fire request once network status changes & periodically check connection 2020-01-27 11:52:34 +01:00
docker Add docker integration tests 2018-04-10 09:44:22 +01:00
env/dev/env/test [feature #2793] 2018-01-08 23:13:47 +09:00