An error occurred fetching the project authors.
- 12 Dec, 2002 1 commit
-
-
Barry Warsaw authored
and Unix. We actually use the Windows code as the basis for the new approach so there's some hope that this will actually work on Windows <wink>. Tim will verify once the checkins are finished. start_zeo_server(): Is now the blessed way of starting a ZEO server, and it primarily takes a ZConfig storage section string as its argument. This it writes to a temp file and passes -C to the zeoserver.py script, which parses that temp file and creates the underlying storage. zeoserver.py is responsible for deleting the temp file. zeoserver opens an `admin' port which is used to quit the server, but the protocol has been expanded slightly. The first time the admin port is connected to, an ack character is sent from zeoserver. This is necessary to coordinate the tests so that they are assured the server is running and responding before it tries to do more. Otherwise, some tests were vulnerable to timing bugs where the shutdown connect happened before the server was ready to accept them. The second connect exits the server process just like before. start_zeo_server() returns a 3-tuple. The first element is the (host,port) tuple of the ZEO server, the second is the (host,port) tuple of the admin socket, and the third is the pid of the spawned child process. shutdown_zeo_server(): The blessed way to shut down a zeoserver.py process. Takes an admin (host,port) tuple, connects to that and writes a log entry.
-
- 10 Dec, 2002 1 commit
-
-
Barry Warsaw authored
create the specific storage instances. This lets us easily generalize the tests (the Unix ones at least ;) to use the Berkeley Full storage. Tim and I will check Windows compatibility soon.
-
- 26 Sep, 2002 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
StorageServer as well as that of the storage itself. Currently the test fails.
-
- 13 Sep, 2002 2 commits
-
-
Guido van Rossum authored
service asyncore events intended for a ClientStorage created in the parent. That can't be intended. The best way I can see to avoid this is simply to clear asyncore's socket_map after the fork.
-
Guido van Rossum authored
changed and the hotshot invocation wasn't changed along. Untested.
-
- 29 Aug, 2002 1 commit
-
-
Guido van Rossum authored
-
- 11 Jun, 2002 1 commit
-
-
Jeremy Hylton authored
-
- 15 Mar, 2002 1 commit
-
-
Jeremy Hylton authored
-
- 12 Feb, 2002 1 commit
-
-
Guido van Rossum authored
trunk. I'm *almost* done with the merge; the only file not yet merged is FileStorage.py.
-
- 21 Jan, 2002 1 commit
-
-
Jeremy Hylton authored
running the rest of the tests in the child.
-
- 11 Jan, 2002 2 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 02 Nov, 2001 1 commit
-
-
Jeremy Hylton authored
The trunk now has the same code ZEO 1.0b5 plus a few minor changes.
-
- 28 Sep, 2001 1 commit
-
-
Jeremy Hylton authored
-
- 07 Sep, 2001 1 commit
-
-
Jeremy Hylton authored
-
- 17 Aug, 2001 1 commit
-
-
Jeremy Hylton authored
forker.py: Extend start_zeo_server() on Windows with arg that specifies port, which is used to restart the server on the same port. Remove unnecessary imports. Set PYTHONPATH for the spawned script. testZEO.py: Refactor ConnectionTests into abstract base class with two platform- specific subclasses. Add goofy test_suite() function, which is goofy because I can't figure out how to use unittest any other way. winserver.py: Keep track of storage in ZEOTestServer so that its close() method can be called when the server exits.
-
- 16 Aug, 2001 1 commit
-
-
Jeremy Hylton authored
winserver.py: A small script that runs a ZEO StorageServer and a ZEOTestServer. The ZEOTestServer is used to kill the StorageServer during a unit test's teardown phases. As soon as a client connects to that server, it exits the process. forker.py: Now forks and spawns, depending on os. XXX This needs to be cleaned up a lot, since the interfaces on Windows and Unix are nothing alike. testZEO.py: Add WindowsGenericTests and WindowsZEOFileStorageTests. These test cases use the Windows-specific forker interface. They also use getStorageInfo() to describe the storage, rather than getStorage() to create the storage. This is necessary because the storage instance is created in a separate process.
-
- 09 May, 2001 2 commits
-
-
Jeremy Hylton authored
misnamed, because it's also the min_connect_poll and it makes the tests run much faster by waiting for a shorter period of time between connect attempts.)
-
Jeremy Hylton authored
Add optional cache_size argument.
-
- 08 May, 2001 1 commit
-
-
Jeremy Hylton authored
-
- 01 May, 2001 1 commit
-
-
Jeremy Hylton authored
-
- 27 Apr, 2001 1 commit
-
-
Jeremy Hylton authored
All tests except checkLen() pass.
-