- 03 May, 2004 8 commits
-
-
Tim Peters authored
that the number of bytes removed ends with "0". Other tests: if the output doesn't contain 'error', show the actual output.
-
Scott Pascoe authored
-
Scott Pascoe authored
-
Tim Peters authored
fsrecover.py: the call to restore() was still using .serial, which no longer exists. Changed to use .tid. testRecover.py: the tests here passed despite that fsrecover wasn't working at all. Changed RecoverTest.recover() to eliminate its unused arguments, and to return all the output fsrecover.recover() produces (the output was being thrown away, unlooked at). Added new testNoDamage(), which feeds recovery a healthy .fs, and then looks at the output of recovery, to verify that no errors were reported and no bytes were removed by recovery. Changed all the other tests to stop passing unused arguments to RecoverTest.recover(), and to verify that error output was produced by recovery. XXX I'm not sure that every call to RecoverTest.recover() will actually XXX produce an error in fsrecover.recover(), so we may get some spurious XXX test failures here. I'll keep my open for those. (The kinds of XXX damage tested are randomized, so one run doesn't prove anything.)
-
Tim Peters authored
'pack' default value from 0 to None (this looks like the clear intent of the code). Note that fsrecover.py is totally broken, but testRecover.py isn't detecting it. I'm working on repairing both.
-
Tim Peters authored
the first function defn.
-
Tim Peters authored
tried to print the module docstring, but in an unreachable line. In case of more than 2 positional args, the code died with a mysterious "unpack tuple of wrong size" exception; check for the correct # of args directly instead. Print all error msgs to stderr instead of stdout.
-
Tim Peters authored
grammar and spelling.
-
- 01 May, 2004 1 commit
-
-
Scott Pascoe authored
-
- 30 Apr, 2004 1 commit
-
-
Tim Peters authored
"sporadic Zope crashes" http://collector.zope.org/Zope/553 This is much like the test of the same name I just added to the Zope 2.6 and 2.7 branches, but reworded to use ZODB 3.3isms. The HEAD bucket conflict resolution code is already correct in this case, so no other code change here -- adding this test to ensure it stays correct.
-
- 29 Apr, 2004 2 commits
-
-
Fred Drake authored
-
Tim Peters authored
-
- 27 Apr, 2004 2 commits
-
-
Marius Gedminas authored
-
Marius Gedminas authored
-
- 25 Apr, 2004 2 commits
-
-
Gintautas Miliauskas authored
'test left threads behind' warnings. Tests in testZEO sometimes do that too, but that's hard to reproduce.
-
Gintautas Miliauskas authored
to zLOG other than a few comments. This definitely broke the log analyzers pretty bad.
-
- 24 Apr, 2004 2 commits
-
-
Gintautas Miliauskas authored
This probably broke the log analyzers... :(
-
Gintautas Miliauskas authored
-
- 23 Apr, 2004 4 commits
-
-
Gintautas Miliauskas authored
-
Gintautas Miliauskas authored
-
Tim Peters authored
fiddly code trying to prevent OverflowError.
-
Tim Peters authored
conversion (this is an --all test, so the original committer probably didn't run it). Introduced a trivial new module (loglevels.py) to centralize creating the custom log levels ZODB/ZEO want to use.
-
- 22 Apr, 2004 4 commits
-
-
Gintautas Miliauskas authored
processing the messages because the format might have changed a little bit.
-
Fred Drake authored
-
Fred Drake authored
(the tests themselves still aren't being run; we need decent save/restore behavior from the logging package to do this properly)
-
Fred Drake authored
logging directly
-
- 20 Apr, 2004 1 commit
-
-
Fred Drake authored
later
-
- 19 Apr, 2004 5 commits
-
-
Tim Peters authored
didn't recognize its version number. As a result, 3.3a3 went out with ZODB/__init__.py claiming it was version 3.3a2. Repaired that, but by changing what release.py looks for.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
cause of the: TypeError: unpack() argument 2 must be string or read-only buffer, not None failure often seen in overnight testrunner reports now, coming from the checkConcurrentUpdatesInVersions test. If the hypothesis is correct, we'll see a failure of the new assert end is not None instead.
-
Barry Warsaw authored
returns a datetime.timedelta instead of a float. Added test case and documentation.
-
- 17 Apr, 2004 4 commits
-
-
Gintautas Miliauskas authored
-
Gintautas Miliauskas authored
-
Gintautas Miliauskas authored
-
Gintautas Miliauskas authored
-
- 16 Apr, 2004 4 commits
-
-
Jeremy Hylton authored
-
Tim Peters authored
-
Tim Peters authored
-
Jeremy Hylton authored
-