| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
SocketServers. The core of the patch was written by Pedro Werneck, but any bugs
are mine. I've also rearranged the code for timeouts in order to avoid
interfering with the shutdown poll.
|
| |
|
|
|
|
| |
calls (which don't exist on non-Unix platforms).
Thanks to Trent Nelson for the report and patch.
|
| |
|
|
|
| |
didn't create, in most cases. When there are max_children handlers running, it
will still wait for any child process, not just handler processes.
|
| |
|
|
| |
sure all tests run even if some fail.
|
| | |
|
| | |
|
| |
|
|
| |
test_socketserver failures on several platforms.
|
| | |
|
| |
|
|
|
| |
won't find any old children left around which causes an exception
in collect_children() and the test to fail.
|
| |
|
|
|
| |
the test server thread at most 0.5 seconds to get ready, use an event
variable.
|
| | |
|
| |
|
|
|
|
| |
to calling getsockname() on the server's socket.
Will backport.
|
| |
|
|
|
|
|
|
| |
sporadically on other platforms. This is really a band-aid that doesn't
fix the underlying issue in SocketServer. It's not clear if it's worth
it to fix SocketServer, however, I opened a bug to track it:
http://python.org/sf/1540386
|
| |
|
|
|
|
|
|
|
|
| |
be called at the end of each test that spawns children (perhaps it
should be called from regrtest instead?). This will hopefully prevent
some of the unexplained failures in the buildbots (hppa and alpha)
during tests that spawn children. The problems were not reproducible.
There were many zombies that remained at the end of several tests.
In the worst case, this shouldn't cause any more problems,
though it may not help either. Time will tell.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
- return the full size of the sockaddr_un structure, without which
bind() fails with EINVAL;
- set test_socketserver to use a socket name that meets the form
required by the underlying implementation;
- don't bother exercising the forking AF_UNIX tests on EMX - its
fork() can't handle the stress.
|
| |
|
|
| |
From SF patch #852334.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".
This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).
Now Tim and Jack can have at it. :)
|
| | |
|
| |
|
|
| |
Add it back to the list of tests we expect to skip on Windows.
|
| |
|
|
|
| |
Also raise TestSkipped (intead of appearing to fail) if the import lock
is held.
|
| |
|
|
| |
test.
|
| |
|
|
|
|
| |
- Set the host to "localhost" instead of "".
- Skip the AF_UNIX tests when socket.AF_UNIX is not defined.
|
|
|
fixed. Regrettably, this must be run manually -- somehow the I/O
redirection of the regression test breaks the test. When run under
the regression test, this raises ImportError with a warning to that
effect.
Bugfix candidate!
|