- 04 Jan, 2015 1 commit
-
-
Jim Fulton authored
the ZEO port without creating a full-blown client connection and without logging in the server log.
-
- 27 Dec, 2014 4 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
- Support new Python versions. [ci skip]
-
Tres Seaver authored
Before Python 3.4, the logging module registered them in both directions, but quit doing so in 3.4, breaking doctests which expected to display custom level name ("BLATHER").
-
Tres Seaver authored
-
- 18 Dec, 2014 3 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
- 19 Nov, 2014 1 commit
-
-
Patrick Gerken authored
Add server side logging for MTDelay
-
- 13 Aug, 2014 2 commits
-
-
Tres Seaver authored
Log level INFO
-
Bousquie Pierre authored
20 minutes to read the code in order to find where to set the log level :) Hope to help other people ;)
-
- 13 Jul, 2014 1 commit
-
-
Jim Fulton authored
-
- 21 Mar, 2014 2 commits
-
-
Patrick Gerken authored
-
Patrick Gerken authored
-
- 03 Oct, 2013 4 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Marius Gedminas authored
-
Marius Gedminas authored
In my experience bootstrap.py wants the latest setuptools and it wants a distribute egg. Asking for the latest distribute should give us both.
-
- 18 Sep, 2013 1 commit
-
-
Jim Fulton authored
-
- 30 Aug, 2013 4 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
Use os.urandom() to read from /dev/urandom
-
Tres Seaver authored
-
- 28 Aug, 2013 1 commit
-
-
Stefan Nordhausen authored
-
- 27 May, 2013 2 commits
-
-
Marius Gedminas authored
-
Marius Gedminas authored
The loop over all possible IPv4 and IPv6 addresses turns out to also loop through all possible socket types (SOCK_STREAM/IPPROTO_TCP, SOCK_DGRAM/IPPROTO_UDP, SOCK_RAW/IPPROTO_IP). This meant that each connection attempt was repeated three times, serially. This fixes new_addr.test nondeterministic failures. Here's a short reminder of what that test does: 1. Starts a ZEO server on random port X 2. Connects and creates some data 3. Stops the ZEO server 4. Starts a new ZEO server on random port Y 5. Tells the old connection about the new address 6. Makes a modification though a new connection 7. Waits for the old connection to reconnect using the new address, 8. Verifies that it sees the new data Here's why the test used to fail: * In step 3, when we stop the ZEO server, the client would notice a disconnect and immediately try to reconnect. * Due to this bug it would open three TCP connections to localhost:X and somehow succeed (I've no idea why -- ZEO server is supposed to close the listening socket before it drops client connections, so how can a new connection to the listening socket succeed?) * It would try handshaking each of the connection one after the other, timing out after 10 seconds each time (in ZEO.ServerStub.stub). * Only after all three connection attempts failed would it sleep for `max_disconnect_poll` seconds and then try to connect to localhost:Y * Three times 10 seconds is 30 seconds, which is by accident the same timeout the test uses in step 7 to wait for a successful reconnection. With this fix the test still does one unnecessary 10 second timeout before it passes. I'd love to fix it, but I'm losing hope of understanding what's actually happening there.
-
- 24 May, 2013 1 commit
-
-
Marius Gedminas authored
LOL, Windows. Hopefully this will make winbot happy.
-
- 23 May, 2013 2 commits
-
-
Marius Gedminas authored
`zip` is not used anywhere in this file (this is python-modernize/issue#6). The builtin `map` works fine on both Python 2.x and 3.x, the way we use it here, so there's no need to import it from `six`.
-
Marius Gedminas authored
Instead of waiting for five arbitrary log messages let's wait for at least two particular log messages, since the intent of this test is to show that we're getting at least two of those.
-
- 22 May, 2013 8 commits
-
-
Marius Gedminas authored
by running tests in parallel.
-
Marius Gedminas authored
See travis-ci/travis-cookbooks#155
-
Marius Gedminas authored
-
Marius Gedminas authored
In Python 3 r.write() returns the number of characters written.
-
Marius Gedminas authored
It doesn't work, just results in no tests being run: https://github.com/zopefoundation/zope.testrunner/issues/5
-
Marius Gedminas authored
-
Marius Gedminas authored
Attempting to open a file before it is created turns out not to be a good idea. Moved all the file opening inside the wait_until lambdas (after extracting them into a standalone helper function, since you can't use the with statement inside a lambda). Also fixed test failure on Python 3.3 (r.write() returns the number of bytes written). Added an XXX about a possible hang while opening ClientStorage, in case something went wrong. I'm not sure how to fix that.
-
Marius Gedminas authored
-
- 21 May, 2013 1 commit
-
-
Tres Seaver authored
-
- 20 May, 2013 2 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-