summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 22:13:50 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 22:13:50 +0000
commit360a25d4fa94f194d9844f4bb964ab6e6bc82eac (patch)
treee0867b0af898ccedb1563dd51815f24502a42a48 /chrome
parent020a50cf9d3a715edd0d8bf9b1695b1680e542a8 (diff)
downloadchromium_src-360a25d4fa94f194d9844f4bb964ab6e6bc82eac.zip
chromium_src-360a25d4fa94f194d9844f4bb964ab6e6bc82eac.tar.gz
chromium_src-360a25d4fa94f194d9844f4bb964ab6e6bc82eac.tar.bz2
Revert experimental change to page_load_test.cc in r51329
Also, do not attempt to collect any stability metrics on Mac -- they are not used. Review URL: http://codereview.chromium.org/2842046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51783 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/test/reliability/page_load_test.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/test/reliability/page_load_test.cc b/chrome/test/reliability/page_load_test.cc
index 5b5ec8d..eca9df2 100644
--- a/chrome/test/reliability/page_load_test.cc
+++ b/chrome/test/reliability/page_load_test.cc
@@ -273,8 +273,10 @@ class PageLoadTest : public UITest {
}
}
+#if !defined(OS_MACOSX) // Not used by mac chromebot.
// Get stability metrics recorded by Chrome itself.
GetStabilityMetrics(&metrics);
+#endif
if (log_file.is_open()) {
log_file << " " << metrics.browser_crash_count \
@@ -527,11 +529,6 @@ class PageLoadTest : public UITest {
PrefService* GetLocalState() {
FilePath local_state_path = user_data_dir()
.Append(chrome::kLocalStateFilename);
- // Accessing the prefs store blocks on mac after every ~30 runs.
- // Temporarily bail out so that we can see if this causes slowdown on
- // win chromebot as well.
- // TODO(nirnimesh): remove this when we reach a conclusion.
- return NULL; // Bail out
PrefService* local_state(new PrefService(new PrefValueStore(
NULL, /* no managed preference values */