Hi all,

I found that there was a hard coded 2 seconds limit in
StoppableWSGIServer.shutdown:
https://github.com/django/django/blob/1.6/django/test/testcases.py#L999

This causes problems on slow boxes ie. travis:
https://travis-ci.org/yourlabs/django-autocomplete-light/jobs/15177543

Can we enable configurable wait time in shutdown() ?

The we could use it like:

    class WidgetTestCase(LiveServerTestCase)
        shutdown_wait_time = 30 if os.environ.get('TRAVIS', False) else 2

What do you think ?

Thanks !

-- 
http://yourlabs.org
Customer is king - Le client est roi - El cliente es rey.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CALC3KafO%2BuxL0k4QQ5hZZvhXw2suWOpMpwmv9ubdROqLK%2Bj9HQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to