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

Issue 1379153002: pkg: Eliminate flaky analysis test failure. (Closed)

Created:
5 years, 2 months ago by Florian Schneider
Modified:
5 years, 2 months ago
Reviewers:
scheglov
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

pkg: Eliminate flaky analysis test failure. Running in debug mode (or any slower configuration) makes this test fail since it waits for a max of 100 event loop iterations for the analysis results. Instead wait without limit until results are ready, with checking every few milliseconds. BUG= R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/c4d0ff8a4c580821ffb63ca3a65d292c874b2914

Patch Set 1 #

Patch Set 2 : added timeout, changed polling interval to 1ms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M pkg/analysis_server/test/analysis/notification_implemented_test.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Florian Schneider
5 years, 2 months ago (2015-10-01 16:42:18 UTC) #2
scheglov
Couple questions. 1. Will this change to cause tests to get stuck infinitely, if we ...
5 years, 2 months ago (2015-10-01 16:59:41 UTC) #3
Florian Schneider
On 2015/10/01 16:59:41, scheglov wrote: > Couple questions. > > 1. Will this change to ...
5 years, 2 months ago (2015-10-01 17:09:12 UTC) #4
scheglov
With some timeout LGTM. On 2015/10/01 17:09:12, Florian Schneider wrote: > On 2015/10/01 16:59:41, scheglov ...
5 years, 2 months ago (2015-10-01 17:19:06 UTC) #5
Florian Schneider
Done.
5 years, 2 months ago (2015-10-01 17:27:36 UTC) #6
scheglov
LGTM Thanks.
5 years, 2 months ago (2015-10-01 17:31:14 UTC) #7
Florian Schneider
5 years, 2 months ago (2015-10-01 17:35:02 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
c4d0ff8a4c580821ffb63ca3a65d292c874b2914 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698