- 14 Aug, 2002 4 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
and remove testExceptionInTpcFinish() and BUGtestExceptionInSubTpcBegin(). The tpc_finish test removed duplicated the logic of "hoser stoppage," while the BUGtest was never executed. The testHoserStoppage() test used to depend on the order of objects in a dict's values() list. This order was unpredictable and caused intermittent failures. Make two changes to work around this: 1) Mark the non-error object as modified first, since this seems to get values() in a good order. 2) Retry the test with 2 randomly selected objects until it passes, but fail after 10 tries.
-
- 12 Aug, 2002 6 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
The HoserStoppage and ExceptionInTpcFinish were failing intermittently on Windows. I assume the problem is that a single error in tpc_finish() can be recovered from iff the error is for the first jar. I assume that most of the time the error occurred after some other jar had committed. Fixed the test by causing two different jars to fail.
-
Jeremy Hylton authored
XXX This makes CommitLockTests pass on Win2k for me.
-
Jeremy Hylton authored
tpc_abort() and tpc_finish() should always reset _transaction and strategy attributes before calling _handle_waiting(). XXX Not sure that it actually makes a difference, but the code seems simpler. Only issues the "blocked transaction restarted" method when _restart() returns true.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 09 Aug, 2002 4 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
XXX If select() raises an exception inside asyncore, close the connection.
-
Jeremy Hylton authored
Use TestThread as base class for WorkerThread in CommitLockTests.
-
- 08 Aug, 2002 1 commit
-
-
Jeremy Hylton authored
StorageTestBase.removefs() will attempt to remove files with all the possible extensions that FileStorage will create. It will raise os.error for any error except ENOENT. Remove many variants of removefs() implemented in the various test suites.
-
- 06 Aug, 2002 6 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Add a poll call in send_reply() so that synchronous calls made when there is no other traffic don't cause long delays. (This probably only occurs during the pack tests.)
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 05 Aug, 2002 10 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
XXX This will probably hang for Guido.
-
Jeremy Hylton authored
Mark each WorkerThread as a daemon. Attempt to join() it when the test exits, but do so with a timeout. If, after the join(), the thread is still alive, mark the test as failed. Since it's just a daemon thread, the test program should still exit.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Also, reformat doc strings, remove an unused global variable, and remove one whitespace character. (I've already used the whitespace in a different module.)
-
Jeremy Hylton authored
-
Jeremy Hylton authored
No log writer that I know of has a reinitialize() function. zLOG has an initialize() function, but it isn't easy to get at yet.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 01 Aug, 2002 7 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Add a couple of simple tests that make sure that start.py script runs. The tests are meager -- most of the possible arguments are untested -- and only run on Unix.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 29 Jul, 2002 1 commit
-
-
Jeremy Hylton authored
-
- 26 Jul, 2002 1 commit
-
-
Jeremy Hylton authored
I think this is the log call that has been killing backends by sending very large strings.
-