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

Issue 2629023002: Defend against false positives (Closed)

Created:
3 years, 11 months ago by vsm
Modified:
3 years, 11 months ago
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Defend against false positives If a seemingly non-async test returns a Future, wait on it. I noticed this on an earlier CL today related to the await_in_cascade_test - the test was broken, but we were falsely passing. This still doesn't handle false negatives (e.g., tests that are expected to fail). That's why many of these are marked skip_fail. If the exception happens after main returns, we currently don't see it. R=jmesserly@google.com Committed: https://github.com/dart-lang/sdk/commit/580186a655661ce204c9b18797446b75b632e016

Patch Set 1 #

Patch Set 2 : Undo last test change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M pkg/dev_compiler/test/browser/language_tests.js View 8 chunks +15 lines, -2 lines 0 comments Download
M tests/language_strong/await_in_cascade_test.dart View 1 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
vsm
3 years, 11 months ago (2017-01-11 22:22:56 UTC) #3
Jennifer Messerly
lgtm
3 years, 11 months ago (2017-01-11 22:25:22 UTC) #4
vsm
Committed patchset #2 (id:20001) manually as 580186a655661ce204c9b18797446b75b632e016 (presubmit successful).
3 years, 11 months ago (2017-01-11 22:34:14 UTC) #6
Bob Nystrom
3 years, 11 months ago (2017-01-11 23:00:44 UTC) #7
Message was sent while issue was closed.
LGTM. Scary!

Powered by Google App Engine
This is Rietveld 408576698