- 09 Jan, 2004 3 commits
-
-
Tim Peters authored
ways, but unittest never notices this because the tests always fail in a thread unittest doesn't know anything about. Changed ClientThread to derive from the MTStorage tests' TestThread, which arranges to re-raise a thread-death exception in the main thread. Tested "by hand", via temporarily forcing fatal thread exceptions in all the Pack[Now]WhileWriting tests; unittest did notice those now. So, when this happens again in real life, we'll no longer be fooled by test runner reports claiming that everything passed, and then frustrated by not even being able to tell which test failed (you can't tell from the isolated thread traceback(s) wading in the sea of testrunner dot output).
-
Tim Peters authored
-
Jeremy Hylton authored
-
- 08 Jan, 2004 4 commits
-
-
Fred Drake authored
available
-
Tim Peters authored
in a new tuple. If the chain of stuff triggered by the subsequent PyEval_CallObject() happened to trigger cyclic gc, then there were more gc-visible pointers to self than could be accounted for by self->ob_refcnt, and in a debug build Python died with an assertion failure. The code has always been this way, but Jeremy points out that it didn't matter in previous versions of ZODB, because "self" was always an ExtensionClass instance before, and gc ignored those.
-
Fred Drake authored
-
Fred Drake authored
-
- 07 Jan, 2004 3 commits
-
-
Jeremy Hylton authored
ZRS compatibility.
-
Jeremy Hylton authored
-
Tim Peters authored
created the possibility that the checking code would need to try to read up data from a closed connection. This turned out to be a frequent source of new failures in checkConcurrentUpdates1Storage (both FileStorage and BDB flavors). Changed all of the relevant tests to grab the BTree anew from the newly-opened connection.
-
- 06 Jan, 2004 14 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
missing keys.
-
Jeremy Hylton authored
Don't use bpthread; just use thread.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Tim Peters authored
-
Jeremy Hylton authored
In the branches that call loadBefore() or raise ConflictError, make sure we always return. Either case satisfies the original call to setstate() and we don't want to load the current state.
-
Fred Drake authored
ZConfig.components.logger, adding only what's special about the zLOG version of the factory
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Bug reported by Dieter Maurer. The change required several of the read-conflict tests to be updated to specify that they don't want MVCC support. It was basically accidental that they passed before this change. Note that we don't have any tests of code that gets a read conflict in MVCC mode, which would only be possible after a pack() or in some other weird case.
-
Jeremy Hylton authored
-
Tim Peters authored
problem is likely somewhere else, but I'm not going to stay up tonight sorting this out.
-
Tim Peters authored
docstring, this function never returned True.
-
- 05 Jan, 2004 8 commits
-
-
Fred Drake authored
- time-interval values are the number of seconds
-
Tim Peters authored
-
Jeremy Hylton authored
-
Tim Peters authored
BTrees.check module and to the BTree._check() method.
-
Tim Peters authored
-
Fred Drake authored
ZConfig.logger.log type, since it does
-
Fred Drake authored
the logging package; this avoids lots of code duplication
-
Jeremy Hylton authored
This old script was provided in 3.2 only to ease transition. Removed now, because it depends on zdaemon.Daemon, which no longer exists.
-
- 02 Jan, 2004 8 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Fred Drake authored
-
Fred Drake authored
-
Jeremy Hylton authored
-