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

Side by Side Diff: ipc/ipc_sync_channel_unittest.cc

Issue 6304010: Disable crashy IPCSyncChannelTest.SendWithTimeoutMixedOKAndTimeout... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Unit test for SyncChannel. 5 // Unit test for SyncChannel.
6 6
7 #include "ipc/ipc_sync_channel.h" 7 #include "ipc/ipc_sync_channel.h"
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 SendWithTimeoutOK(true); 990 SendWithTimeoutOK(true);
991 } 991 }
992 992
993 // Tests that SendWithTimeout does time-out. 993 // Tests that SendWithTimeout does time-out.
994 TEST_F(IPCSyncChannelTest, SendWithTimeoutTimeout) { 994 TEST_F(IPCSyncChannelTest, SendWithTimeoutTimeout) {
995 SendWithTimeoutTimeout(false); 995 SendWithTimeoutTimeout(false);
996 SendWithTimeoutTimeout(true); 996 SendWithTimeoutTimeout(true);
997 } 997 }
998 998
999 // Sends some message that time-out and some that succeed. 999 // Sends some message that time-out and some that succeed.
1000 TEST_F(IPCSyncChannelTest, SendWithTimeoutMixedOKAndTimeout) { 1000 // Crashes flakily, http://crbug.com/70075.
1001 TEST_F(IPCSyncChannelTest, DISABLED_SendWithTimeoutMixedOKAndTimeout) {
1001 SendWithTimeoutMixedOKAndTimeout(false); 1002 SendWithTimeoutMixedOKAndTimeout(false);
1002 SendWithTimeoutMixedOKAndTimeout(true); 1003 SendWithTimeoutMixedOKAndTimeout(true);
1003 } 1004 }
1004 1005
1005 //------------------------------------------------------------------------------ 1006 //------------------------------------------------------------------------------
1006 1007
1007 namespace { 1008 namespace {
1008 1009
1009 class NestedTask : public Task { 1010 class NestedTask : public Task {
1010 public: 1011 public:
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 server.done_event()->Wait(); 1158 server.done_event()->Wait();
1158 server.done_event()->Reset(); 1159 server.done_event()->Reset();
1159 1160
1160 server.SendDummy(); 1161 server.SendDummy();
1161 server.done_event()->Wait(); 1162 server.done_event()->Wait();
1162 1163
1163 EXPECT_FALSE(server.send_result()); 1164 EXPECT_FALSE(server.send_result());
1164 } 1165 }
1165 1166
1166 1167
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698