#31752: Intermittent test failure on Windows with PostgreSQL
               Reporter:  Carlton    |          Owner:  nobody
  Gibson                             |
                   Type:  Bug        |         Status:  new
              Component:  Database   |        Version:  master
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:  Tests, Windows
           Triage Stage:  Accepted   |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
 Reported by Ahmad on the forum], there's an intermittent test failure with

 (django) PS C:\Users\carlt\src\django\tests> python .\runtests.py
 --settings=test_postgres m2m_through.tests.M2mThroughTests
 Testing against Django installed in 'c:\users\carlt\src\django\django'
 Creating test database for alias 'default'...
 System check identified no issues (0 silenced).
 FAIL: test_order_by_relational_field_through_model
 Traceback (most recent call last):
   File "C:\Users\carlt\src\django\tests\m2m_through\tests.py", line 247,
 in test_order_by_relational_field_through_model
     [self.jim, self.bob]
 AssertionError: Sequences differ: <QuerySet [<Person: Person object (1)>,
 <Person: Person object (2)>]> != [<Person: Person object (2)>, <Person:
 Person object (1)>]

 First differing element 0:
 <Person: Person object (1)>
 <Person: Person object (2)>

 - <QuerySet [<Person: Person object (1)>, <Person: Person object (2)>]>
 ? ----------                         ^                            ^   -

 + [<Person: Person object (2)>, <Person: Person object (1)>]
 ?                          ^                            ^

 Ran 41 tests in 0.264s

 FAILED (failures=1)
 Destroying test database for alias 'default'...

 Looks like a non-deterministic ordering problem.

 Reproduced at 615e32162ff646db3456b90fb4eaaecc33dd3e4e.

Ticket URL: <https://code.djangoproject.com/ticket/31752>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Reply via email to