mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Revert "[1.5.x] Silenced last sporadic failure on 1.5."
This reverts commit 6a708cd654.
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user