summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 23:25:29 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 23:25:29 +0000
commit6627ef6ed1e99731c6c2f2e3a87179fc6448790e (patch)
tree7bec24d1a585fb4666f79b9fcbb87bd7333cc202 /chrome/test
parentea14138640443f60808ebb388d7dbdba630252d6 (diff)
downloadchromium_src-6627ef6ed1e99731c6c2f2e3a87179fc6448790e.zip
chromium_src-6627ef6ed1e99731c6c2f2e3a87179fc6448790e.tar.gz
chromium_src-6627ef6ed1e99731c6c2f2e3a87179fc6448790e.tar.bz2
Fix a unit-test that was crashing on valgrind bot.
The problem is that ClientSocketPoolBaseHelper holds a pointer to a task, and tries to call a method on that pointer during destruction. However, if destruction of ClientSocketPoolBaseHelper occurs during message loop destruction, then pending tasks are deleted, so this "backup_task" pointer that it accesses may be invalid. I worked around the problem here by avoiding this destruction code-path in the unit-test. It would be good to make ClientSocketPoolBaseHelper able to handle this case though. BUG=43291 Review URL: http://codereview.chromium.org/1920003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/data/valgrind/unit_tests.gtest.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/test/data/valgrind/unit_tests.gtest.txt b/chrome/test/data/valgrind/unit_tests.gtest.txt
index 8add153..6cfc18e 100644
--- a/chrome/test/data/valgrind/unit_tests.gtest.txt
+++ b/chrome/test/data/valgrind/unit_tests.gtest.txt
@@ -6,5 +6,3 @@ VisitedLinkRelayTest.Basics
RenderViewTest.ImeComposition
# Hangs sometimes; see http://crbug.com/24416
DnsMasterTest.MassiveConcurrentLookupTest
-# Fails under Valgrind, see http://crbug.com/43291
-ConnectionTesterTest.DeleteWhileInProgress