- 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 3 commits
-
-
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.
-
Jeremy Hylton authored
-
Jim Fulton authored
-
- 14 Aug, 2001 1 commit
-
-
Jeffrey Shell authored
-
- 13 Aug, 2001 1 commit
-
-
Andreas Jung authored
_p_resolveConflict could not handle tuples from getstate() properly
-
- 07 Aug, 2001 3 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
The testrunner reports all tests passed after these changes. Remove unnecessary path munging and attempts to import ZODB. Update uses of whrandom to use random.
-
- 06 Aug, 2001 3 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
VerboseTextTestRunner() => TestTestRunner(verbosity=2)
-
Jeremy Hylton authored
-
- 03 Aug, 2001 1 commit
-
-
Jeffrey Shell authored
glob() and os.remove().
-
- 30 Jul, 2001 2 commits
-
-
Shane Hathaway authored
-
Shane Hathaway authored
-
- 19 Jul, 2001 1 commit
-
-
Andreas Jung authored
properly.
-
- 17 Jul, 2001 1 commit
-
-
Barry Warsaw authored
writes after an abort. This specifically flexes a bug discovered by Shane in Full storage.
-
- 13 Jul, 2001 1 commit
-
-
Shane Hathaway authored
-
- 09 Jul, 2001 1 commit
-
-
Barry Warsaw authored
bug.
-
- 20 Jun, 2001 3 commits
-
-
matt@zope.com authored
-
matt@zope.com authored
-
matt@zope.com authored
instead of any other error that may be raised.
-
- 15 Jun, 2001 1 commit
-
-
Barry Warsaw authored
After consultation with Jim, we agreed that Full's behavior vis object serial numbers after a version commit/abort are correct. The new revision should get the serial number of the transaction that did the commit/abort. FileStorage is actually broken here; the new revision gets the same serial number as the last in-version revision. However, the way the tests are written, it works for either storage, so I'm just updating some comments to explain the situation. Note: Jim also explained that history()'s "version" argument should be ignored. Doesn't make much difference to these tests though.
-
- 14 Jun, 2001 6 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
storage API.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
including self) to be called `size' not `length'. This should be considered part of the contract of this method, so the keyword argument name has been changed.
-
- 11 Jun, 2001 1 commit
-
-
Shane Hathaway authored
subclass Transaction.
-
- 08 Jun, 2001 1 commit
-
-
Shane Hathaway authored
-
- 05 Jun, 2001 2 commits
-
-
Chris McDonough authored
-
Chris McDonough authored
made keys() method return a *copy* of the cached keys list, preventing mutations of the cached keys list that could cause later problems. (Collector 2283).
-
- 04 Jun, 2001 3 commits
-
-
Andreas Jung authored
(Collector #2277)
-
Andreas Jung authored
-
Andreas Jung authored
-
- 01 Jun, 2001 4 commits
-
-
Jeremy Hylton authored
If an exception is raised, make sure the current transaction is aborted. And catch more of the oddball exceptions that can get raised when a server disconnects -- like thread.error.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Note that requirement of Zope 2.2 or higher. Explain how to put cPickle in the right place in your Zope tree.
-