#27112: django.test.client.Client doesn't support timeouts
-----------------------------------+--------------------------------------
Reporter: roboslone | Owner: nobody
Type: New feature | Status: closed
Component: Testing framework | Version: 1.10
Severity: Normal | Resolution: wontfix
Keywords: testing,timeout | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Comment (by roboslone):
Replying to [comment:2 timgraham]:
> Have you considered using mocking to raise a timeout exception? I don't
think requiring the run time of a test suite to be increased by the
duration of a timeout is a ideal.
>
> Feel free to ask on [wiki:TicketClosingReasons our support channels]
and/or the DevelopersMailingList if you need other ideas or if you want to
propose this feature, but it doesn't seem needed to me at first glance.
I need to simulate timeout on client side, not on server side, that's the
whole point. My application is hosted on several machines behind load
balancer and I need to test app's behaviour under balancer's
timeouts/retries.
--
Ticket URL: <https://code.djangoproject.com/ticket/27112#comment:3>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.687919ea2a95356c9ca7bf46b92600f8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.