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

Issue 23620014: Mark pub's update_locked_test as flaky. (Closed)

Created:
7 years, 3 months ago by floitsch
Modified:
7 years, 3 months ago
Reviewers:
Bob Nystrom, kustermann
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Mark pub's update_locked_test as flaky. Committed: https://code.google.com/p/dart/source/detail?r=27008

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M sdk/lib/_internal/pub/pub.status View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
floitsch
TBR.
7 years, 3 months ago (2013-09-02 10:42:38 UTC) #1
floitsch
Committed patchset #1 manually as r27008 (presubmit successful).
7 years, 3 months ago (2013-09-02 10:42:56 UTC) #2
floitsch
CCing Nicolas and Anders since they saw the flake earlier and are probably right now ...
7 years, 3 months ago (2013-09-02 10:45:51 UTC) #3
kustermann
I'm not sure if this is correct. Peter recently made some changes to unittest to ...
7 years, 3 months ago (2013-09-02 10:46:00 UTC) #4
floitsch
The test ran in 19 secs in the previous run. So this seems likely. I ...
7 years, 3 months ago (2013-09-02 10:49:40 UTC) #5
kustermann
7 years, 3 months ago (2013-09-02 10:53:36 UTC) #6
Message was sent while issue was closed.
On 2013/09/02 10:49:40, floitsch wrote:
> The test ran in 19 secs in the previous run. So this seems likely. I don't
know
> how to fix this, since there is a FAIL reported to the test-script and not a
> TIMEOUT.

Yes, the reason why a fail is reported is that the test itself will report a
fail.
The changes peter made is not in test.dart but rather in unittest.
I *think* the tests can be changed to something like

import "package:unittest/unittest.dart" as unittest;

main() {
  useConfiguration();

  unittest.timeout = const Duration(...);

  test(...)
}

Powered by Google App Engine
This is Rietveld 408576698