From 87c8de2a06433a6d87a85a8f79e378feafa5ed46 Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Wed, 18 Sep 2013 16:54:30 +0200 Subject: [PATCH] Revert "[1.5.x] Silenced last sporadic failure on 1.5." This reverts commit 6a708cd654fe63278ea8a14b3e44da847c62ebf4. Reverted since it only moved the failures to some other tests and it apperently only worked by accident. Patched selenium for now to include: https://github.com/SeleniumHQ/selenium/pull/118 which seems to be the root cause for sporadic extra requests to the live server, which then cause all sorts of issues. --- tests/regressiontests/forms/tests/widgets.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/regressiontests/forms/tests/widgets.py b/tests/regressiontests/forms/tests/widgets.py index 640e9221b22..599ba534cf5 100644 --- a/tests/regressiontests/forms/tests/widgets.py +++ b/tests/regressiontests/forms/tests/widgets.py @@ -1116,12 +1116,6 @@ class LiveWidgetTests(AdminSeleniumWebDriverTestCase): article = Article.objects.get(pk=article.pk) # Should be "\nTst\n" after #19251 is fixed self.assertEqual(article.content, "\r\nTst\r\n") - # So now it's becoming obscure; we do have threading issues here, so this - # test fails sometimes for sqlite, I could only ever witness it on jenkins. - # As long as 1.5 is supported we manually "fix" this test by quitting - # selenium. No idea why closing the browser window isn't enough, but hey… - self.selenium.quit() - delattr(self.__class__, 'selenium') @python_2_unicode_compatible