[Sheriff] Revert "Deflake preservesPitch tests"
This reverts commit 7b6c4007. Reason for revert: Post this change, preservesPitch seems to consistently fail. https://ci.chromium.org/p/chromium/builders/ci/Mac10.14%20Tests Original change's description: > Deflake preservesPitch tests > > This CL changes preservesPitch tests to wait until the audioElement's > currentTime is at least 0.5 seconds before trying to detect the pitch. > Without this check, the test can try to detect the pitch before the > audio has played enough, which can return a dominant frequency of 0Hz > and fail the test. > > The CL also makes a few stylistic changes, and fixes an off-by-one error > in the number of increments used to calculate frequencies. > > Bug: 1096238 > Change-Id: I6e98e172862a47bea1c4026737138293914f7906 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2298281 > Auto-Submit: Thomas Guilbert <tguilbert@chromium.org> > Commit-Queue: Philip Jägenstedt <foolip@chromium.org> > Reviewed-by: Philip Jägenstedt <foolip@chromium.org> > Cr-Commit-Position: refs/heads/master@{#788535} TBR=tguilbert@chromium.org,foolip@chromium.org Change-Id: I0042f73ca9c5de7d82be1200794c45b46a003f9b No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1096238 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2299183Reviewed-by:Roger McFarlane <rogerm@chromium.org> Commit-Queue: Roger McFarlane <rogerm@chromium.org> Cr-Commit-Position: refs/heads/master@{#788626}
Showing
Please register or sign in to comment