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

Issue 13483025: Test code to see if a timer fixes the issue for the majority of cases. (Closed)

Created:
7 years, 8 months ago by Pete Williamson
Modified:
7 years, 8 months ago
Reviewers:
miket_OOO, dcheng, dewittj
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Test code to see if a timer fixes the issue for the majority of cases. Our Push Messaging test fails a fraction of the time (perhaps 10-20% of the time). The way that the push messaging test works is that it is a buildbot which builds the source and then runs the test, so to test this I need to check the source code in for the buildbot to run the test for me, even though the code is not final. The current theory is that the Push Messaging Canary Test is exiting immediately after recieving the push message from the wire. The invalidation code (Push Messaging relies on A sync invalidation service, which has a library that reports reciept of the message back the server. It seems that the reports back to the server are not reliable, so the server thinks the client is flaky. To investigate a fix to this, I'll add code which delays the time test by two seconds to allow the ack to propagate back to the invalidation service. BUG=229038 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193015

Patch Set 1 #

Total comments: 4

Patch Set 2 : Push Messaging Canary test - trial fix #

Patch Set 3 : Push Messaging Canary Test Fix - Try a longer timeout #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M chrome/test/data/extensions/api_test/push_messaging_canary/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Pete Williamson
Mike - please review Justin - Adding you so that you can start to get ...
7 years, 8 months ago (2013-04-08 21:33:05 UTC) #1
dcheng
On 2013/04/08 21:33:05, Pete Williamson wrote: > Mike - please review > > Justin - ...
7 years, 8 months ago (2013-04-08 21:38:22 UTC) #2
dcheng
https://codereview.chromium.org/13483025/diff/1/chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js File chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js (right): https://codereview.chromium.org/13483025/diff/1/chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js#newcode22 chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js:22: // We need to allow time for tango to ...
7 years, 8 months ago (2013-04-08 21:38:54 UTC) #3
miket_OOO
LGTM, agreed with dcheng, please improve description if possible. https://codereview.chromium.org/13483025/diff/1/chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js File chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js (right): https://codereview.chromium.org/13483025/diff/1/chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js#newcode24 chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js:24: ...
7 years, 8 months ago (2013-04-08 22:07:20 UTC) #4
miket_OOO
Also removed reviewer "Mike Tsao," who is not me.
7 years, 8 months ago (2013-04-08 22:07:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/petewil@chromium.org/13483025/1
7 years, 8 months ago (2013-04-08 22:43:07 UTC) #6
dcheng
On 2013/04/08 22:43:07, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
7 years, 8 months ago (2013-04-08 22:44:56 UTC) #7
Pete Williamson
CR fix suggestions per DCheng, DewittJ, and MikeT https://codereview.chromium.org/13483025/diff/1/chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js File chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js (right): https://codereview.chromium.org/13483025/diff/1/chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js#newcode22 chrome/test/data/extensions/api_test/push_messaging_canary/push_messaging_canary.js:22: // ...
7 years, 8 months ago (2013-04-08 23:17:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/petewil@chromium.org/13483025/20001
7 years, 8 months ago (2013-04-08 23:18:22 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=100690
7 years, 8 months ago (2013-04-09 00:08:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/petewil@chromium.org/13483025/20001
7 years, 8 months ago (2013-04-09 00:59:25 UTC) #11
commit-bot: I haz the power
Change committed as 193015
7 years, 8 months ago (2013-04-09 05:20:41 UTC) #12
Pete Williamson
2 seconds didn't fix the problem. Trying again with 20 seconds. MikeT, please take another ...
7 years, 8 months ago (2013-04-09 23:26:57 UTC) #13
miket_OOO
7 years, 8 months ago (2013-04-10 15:35:48 UTC) #14
Message was sent while issue was closed.
LGTM, good luck.

Powered by Google App Engine
This is Rietveld 408576698