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

Issue 316623005: Fix a race condition in pub serve's exitOnClose test. (Closed)

Created:
6 years, 6 months ago by nweiz
Modified:
6 years, 6 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix a race condition in pub serve's exitOnClose test. It was possible for the web socket to be closed before a response was sent to the exitOnClose request, causing the test (which expected such a response) to fail. R=rnystrom@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=36962

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart View 1 chunk +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/serve/utils.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/serve/web_socket/exit_on_close_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
nweiz
6 years, 6 months ago (2014-06-03 23:18:27 UTC) #1
Bob Nystrom
lgtm
6 years, 6 months ago (2014-06-03 23:28:38 UTC) #2
nweiz
6 years, 6 months ago (2014-06-03 23:37:39 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r36962 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698