#19051: Error in testing/live-test-server example
-------------------------------+--------------------------------------
     Reporter:  glarrain       |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Documentation  |                  Version:  1.4
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by timo):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 I can reproduce this error and confirm the suggested resolution fixes it
 by running Django's test suite. Could another core dev +1 to make sure I'm
 not missing something?
 {{{
 $ ./runtests.py --settings=test_sqlite admin_inlines
 Creating test database for alias 'default'...
 Creating test database for alias 'other'...
 s.....Es............................
 ======================================================================
 ERROR: tearDownClass
 (regressiontests.admin_inlines.tests.SeleniumFirefoxTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/timgraham/code/django/django/contrib/admin/tests.py", line
 24, in tearDownClass
     super(AdminSeleniumWebDriverTestCase, cls).tearDownClass()
   File "/home/timgraham/code/django/django/test/testcases.py", line 1174,
 in tearDownClass
     cls.server_thread.join()
   File "/home/timgraham/code/django/django/test/testcases.py", line 1098,
 in join
     self.httpd.shutdown()
   File "/home/timgraham/code/django/django/test/testcases.py", line 989,
 in shutdown
     "Failed to shutdown the live test server in 2 seconds. The "
 RuntimeError: Failed to shutdown the live test server in 2 seconds. The
 server might be stuck or generating a slow response.

 ----------------------------------------------------------------------
 Ran 33 tests in 19.540s

 FAILED (errors=1, skipped=2)
 Destroying test database for alias 'default'...
 Destroying test database for alias 'other'...
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19051#comment:1>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to