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

Issue 2538773003: Deflake storage/domstorage/events tests when run in random order (Closed)

Created:
4 years ago by jsbell
Modified:
4 years ago
Reviewers:
jeffcarp
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Deflake storage/domstorage/events tests when run in random order Unable to repro the flakiness locally but via code inspection it appeared to be due a pattern used in 2 of the 4 tests (the flaky ones) not navigating the iframe used as the source of the events between the sessionStorage and localStorage passes to ensure a fresh context. Changed those 2 tests to navigate the iframe before each pass. Speculative fix, so fingers crossed. The tests also used a strange mix of js-test helpers and direct testRunner access leading to redundant "TEST PASSED" output. This was simplified to follow usual js-test usage. BUG=664848 R=jeffcarp@chromium.org Committed: https://crrev.com/2c15205a5a85afaabc36afec03d92ad069e2e7a8 Cr-Commit-Position: refs/heads/master@{#435482}

Patch Set 1 #

Patch Set 2 : Rebased #

Messages

Total messages: 17 (10 generated)
jsbell
jeffcarp@ - can you please review?
4 years ago (2016-11-29 20:27:45 UTC) #2
jeffcarp
lgtm
4 years ago (2016-11-30 20:29:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2538773003/1
4 years ago (2016-11-30 21:32:51 UTC) #8
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/LayoutTests/RandomOrderExpectations: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-11-30 22:43:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2538773003/20001
4 years ago (2016-11-30 22:55:02 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-30 23:51:03 UTC) #15
commit-bot: I haz the power
4 years ago (2016-11-30 23:53:10 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2c15205a5a85afaabc36afec03d92ad069e2e7a8
Cr-Commit-Position: refs/heads/master@{#435482}

Powered by Google App Engine
This is Rietveld 408576698