Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Issue 1864433005: Fixing the Chromoting Test Driver host online retry logic (Closed)

Created:
4 years, 8 months ago by joedow
Modified:
4 years, 8 months ago
Reviewers:
Mike Meade, Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixing the Chromoting Test Driver host online retry logic In order to increase the reliability of the CTD, logic was added to refetch the host list every few seconds for ~1 minute until we saw an online host with a matching name and jid. This was to combat a backend propagation delay we had occasionally seen. We are still seeing failures for this code on the waterfall though as the logic is not actually executed if the first check fails. This logic needs to be fixed so the tool is more tolerant to potential propagation delays. The code that checks for the host being available did not have any unit tests so I added those as well. BUG=600763 Committed: https://crrev.com/afb0295ebb94bbaf0b118c9fd364ca7434b27c78 Cr-Commit-Position: refs/heads/master@{#385319}

Patch Set 1 #

Patch Set 2 : Cleaning up HostInfo creation in the unit tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -70 lines) Patch
M remoting/test/chromoting_test_driver.cc View 2 chunks +8 lines, -5 lines 0 comments Download
M remoting/test/chromoting_test_driver_environment.h View 5 chunks +9 lines, -7 lines 0 comments Download
M remoting/test/chromoting_test_driver_environment.cc View 6 chunks +46 lines, -46 lines 0 comments Download
M remoting/test/chromoting_test_driver_environment_unittest.cc View 1 7 chunks +102 lines, -12 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 9 (3 generated)
joedow
This change addresses a problem that is causing failures on our waterfall. The Chromoting Test ...
4 years, 8 months ago (2016-04-05 22:37:10 UTC) #2
Mike Meade
lgtm
4 years, 8 months ago (2016-04-05 22:43:06 UTC) #3
Jamie
LGTM; thanks for the quick turn-around!
4 years, 8 months ago (2016-04-05 22:46:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864433005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864433005/20001
4 years, 8 months ago (2016-04-05 22:50:42 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-05 23:13:40 UTC) #7
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 23:15:49 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/afb0295ebb94bbaf0b118c9fd364ca7434b27c78
Cr-Commit-Position: refs/heads/master@{#385319}

Powered by Google App Engine
This is Rietveld 408576698