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

Issue 1253803002: Clean up bogus codepath in ContextManager._computePackageUriResolver. (Closed)

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

Description

Clean up bogus codepath in ContextManager._computePackageUriResolver. This codepath was only exercised during unit tests and race conditions. The fact that it was executed during unit tests at all was due to a bug (see #23909). The behavior during race conditions was incorrect (it tried to set up package resolution using a folder that didn't exist). This CL fixes the race condition behavior and disables the affected tests. In a future CL I will fix the underlying bug that caused the unit tests to execute incorrectly, and re-enable the tests. R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/391741a2de83c821c31905620d036ba3fa8bda36

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -55 lines) Patch
M pkg/analysis_server/lib/src/context_manager.dart View 2 chunks +8 lines, -2 lines 0 comments Download
M pkg/analysis_server/test/context_manager_test.dart View 4 chunks +57 lines, -53 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Paul Berry
5 years, 5 months ago (2015-07-23 23:35:35 UTC) #2
Brian Wilkerson
LGTM
5 years, 5 months ago (2015-07-24 13:14:42 UTC) #4
Paul Berry
5 years, 5 months ago (2015-07-24 13:39:27 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
391741a2de83c821c31905620d036ba3fa8bda36 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698