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

Side by Side Diff: chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc

Issue 8533021: Marking Autofill_p0 flaky on all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "base/stringprintf.h" 5 #include "base/stringprintf.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "chrome/browser/autofill/autofill_common_test.h" 7 #include "chrome/browser/autofill/autofill_common_test.h"
8 #include "chrome/browser/autofill/autofill_profile.h" 8 #include "chrome/browser/autofill/autofill_profile.h"
9 #include "chrome/browser/sync/profile_sync_service_harness.h" 9 #include "chrome/browser/sync/profile_sync_service_harness.h"
10 #include "chrome/browser/sync/test/integration/autofill_helper.h" 10 #include "chrome/browser/sync/test/integration/autofill_helper.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 SyncTimingHelper::PrintResult("autofill", "update_autofill_profiles", dt); 176 SyncTimingHelper::PrintResult("autofill", "update_autofill_profiles", dt);
177 177
178 // TCM ID - 7553678. 178 // TCM ID - 7553678.
179 RemoveProfiles(0); 179 RemoveProfiles(0);
180 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); 180 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1));
181 ASSERT_EQ(0, GetProfileCount(1)); 181 ASSERT_EQ(0, GetProfileCount(1));
182 SyncTimingHelper::PrintResult("autofill", "delete_autofill_profiles", dt); 182 SyncTimingHelper::PrintResult("autofill", "delete_autofill_profiles", dt);
183 } 183 }
184 184
185 185
186 // Flaky on Linux, see http://crbug.com/102948 186 // Flaky, see http://crbug.com/102948
187 #if defined(OS_LINUX)
188 #define MAYBE_Autofill_P0 FLAKY_Autofill_P0
189 #else
190 #define MAYBE_Autofill_P0 Autofill_P0
191 #endif
192 187
193 IN_PROC_BROWSER_TEST_F(AutofillSyncPerfTest, MAYBE_Autofill_P0) { 188 IN_PROC_BROWSER_TEST_F(AutofillSyncPerfTest, FLAKY_Autofill_P0) {
194 ASSERT_TRUE(SetupSync()) << "SetupSync() failed."; 189 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
195 190
196 AddKeys(0, kNumKeys); 191 AddKeys(0, kNumKeys);
197 base::TimeDelta dt = 192 base::TimeDelta dt =
198 SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); 193 SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1));
199 ASSERT_EQ(kNumKeys, GetKeyCount(1)); 194 ASSERT_EQ(kNumKeys, GetKeyCount(1));
200 SyncTimingHelper::PrintResult("autofill", "add_autofill_keys", dt); 195 SyncTimingHelper::PrintResult("autofill", "add_autofill_keys", dt);
201 196
202 RemoveKeys(0); 197 RemoveKeys(0);
203 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); 198 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1));
204 ASSERT_EQ(0, GetKeyCount(1)); 199 ASSERT_EQ(0, GetKeyCount(1));
205 SyncTimingHelper::PrintResult("autofill", "delete_autofill_keys", dt); 200 SyncTimingHelper::PrintResult("autofill", "delete_autofill_keys", dt);
206 } 201 }
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