Handling socket timeout in dev_server_wrapper
Handling socket timeout in dev_server_wrapper

This CL adds handling of socket.timeout when opening devserver
URLs. It also increases the timeout for opening check_health_url (from
0.05s to 2s) and the interval between checks (from 2s to 5s). These
increased timeouts should reduce flakes in tests.

BUG=chromium:334172
TEST=dev_server_wrapper_stress_test

Change-Id: Id2ab7b187d76bbac6bc06fab2e682cbc4215fe16
Reviewed-on: https://chromium-review.googlesource.com/182395
Reviewed-by: Yu-Ju Hong <52dc720c411f8e2156e608c1a8b894a917489667@chromium.org>
Commit-Queue: Yu-Ju Hong <52dc720c411f8e2156e608c1a8b894a917489667@chromium.org>
Tested-by: Yu-Ju Hong <52dc720c411f8e2156e608c1a8b894a917489667@chromium.org>

bpsinc-native/src_third_party_chromite,bpsinc-native/src_third_party_chromite,chadversary/chromiumos.chromite,bpsinc-native/src_third_party_chromite,chadversary/chromiumos.chromite