#33762: test_random_ordering not really testing randomization
-------------------------------------+-------------------------------------
     Reporter:  Sicong               |                    Owner:  Sicong
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Core (Other)         |                  Version:
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * status:  assigned => closed
 * resolution:   => wontfix
 * component:  Testing framework => Core (Other)


Comment:

 > It's very unlikely that all 10 items generated with order_by("?") are
 the same.

 Unfortunately, it's still possible. I don't see much value in adding a
 non-deterministic flaky test.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33762#comment:2>
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 
https://groups.google.com/d/msgid/django-updates/0107018122a0f349-a0e47f96-406d-4d63-a7f7-d7ee3e243d1c-000000%40eu-central-1.amazonses.com.

Reply via email to