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

Issue 668953002: Add an integration test to verify that server I/O is asynchronous. (Closed)

Created:
6 years, 2 months ago by Paul Berry
Modified:
6 years, 2 months ago
Reviewers:
danrubel
CC:
reviews_dartlang.org, Brian Wilkerson
Visibility:
Public.

Description

Add an integration test to verify that server I/O is asynchronous. Currently disabled, since server I/O is currently synchronous. BUG=dartbug.com/21252 R=danrubel@google.com Committed: https://code.google.com/p/dart/source/detail?r=41246

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -65 lines) Patch
A pkg/analysis_server/test/integration/asynchrony_test.dart View 1 chunk +70 lines, -0 lines 1 comment Download
M pkg/analysis_server/test/integration/integration_tests.dart View 6 chunks +70 lines, -64 lines 0 comments Download
M pkg/analysis_server/test/integration/test_all.dart View 2 chunks +8 lines, -0 lines 0 comments Download
M pkg/analysis_server/test/timing/timing_framework.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/pkg.status View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Paul Berry
6 years, 2 months ago (2014-10-21 20:15:46 UTC) #2
danrubel
LGTM https://codereview.chromium.org/668953002/diff/1/pkg/analysis_server/test/integration/asynchrony_test.dart File pkg/analysis_server/test/integration/asynchrony_test.dart (right): https://codereview.chromium.org/668953002/diff/1/pkg/analysis_server/test/integration/asynchrony_test.dart#newcode50 pkg/analysis_server/test/integration/asynchrony_test.dart:50: return server.flushCommands().then((_) { Is it possible to add ...
6 years, 2 months ago (2014-10-22 14:56:14 UTC) #3
Paul Berry
On 2014/10/22 14:56:14, danrubel wrote: > LGTM > > https://codereview.chromium.org/668953002/diff/1/pkg/analysis_server/test/integration/asynchrony_test.dart > File pkg/analysis_server/test/integration/asynchrony_test.dart (right): > ...
6 years, 2 months ago (2014-10-22 15:45:02 UTC) #4
Paul Berry
Committed patchset #1 (id:1) manually as 41246 (presubmit successful).
6 years, 2 months ago (2014-10-22 15:48:12 UTC) #5
danrubel
6 years, 2 months ago (2014-10-22 15:57:22 UTC) #6
Message was sent while issue was closed.
On 2014/10/22 15:45:02, Paul Berry wrote:
> On 2014/10/22 14:56:14, danrubel wrote:
> > LGTM
> > 
> >
>
https://codereview.chromium.org/668953002/diff/1/pkg/analysis_server/test/int...
> > File pkg/analysis_server/test/integration/asynchrony_test.dart (right):
> > 
> >
>
https://codereview.chromium.org/668953002/diff/1/pkg/analysis_server/test/int...
> > pkg/analysis_server/test/integration/asynchrony_test.dart:50: return
> > server.flushCommands().then((_) {
> > Is it possible to add a timeout for the flushCommands so that the test will
> > continue and fail rather than blocking forever? Does that make sense?
> 
> It's possible, but I don't think it's worth it.  The test runner
infrastructure
> (test.py) already implements timeout functionality, so there's no danger of
this
> causing a buildbot to hang forever.
> 
> I'll commit it as is for now; if you feel strongly let me know; I can always
do
> a follow-up CL.

This sounds good to me. No need for any changes.

Powered by Google App Engine
This is Rietveld 408576698