#17938: Transient failure of regressiontests.servers.tests.LiveServerDatabase on oracle -----------------------------------+-------------------- Reporter: nate_b | Owner: nobody Type: Uncategorized | Status: new Component: Testing framework | Version: SVN Severity: Release blocker | Keywords: Triage Stage: Unreviewed | Has patch: 1 Easy pickings: 0 | UI/UX: 0 -----------------------------------+-------------------- When running the entire test suite against oracle xe 10g, the following failure is seen:
{{{ ====================================================================== FAIL: test_database_writes (regressiontests.servers.tests.LiveServerDatabase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/nate/django/trunk/tests/regressiontests/servers/tests.py", line 215, in test_database_writes self.assertEquals(names, ['jane', 'robert', 'emily']) AssertionError: Lists differ: [u'emily', u'jane', u'robert'] != ['jane', 'robert', 'emily'] First differing element 0: emily jane - [u'emily', u'jane', u'robert'] + ['jane', 'robert', 'emily'] }}} Strangely, this does not happen when run in isolation. Inspecting the query results just shows that Oracle is returning the results unordered. The correct thing to do then would be to use {{{order_by}}} -- Ticket URL: <https://code.djangoproject.com/ticket/17938> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.