1. 21 Jun, 2005 1 commit
    • Tim Peters's avatar
      Massive refactoring, to move the bulk of the trigger code into · 80343fd8
      Tim Peters authored
      an OS-indepedent base class.
      
      __repr__:  Use the postive_id function to embed the machine address.
      Addresses with the high bit set trigger warnings before Python 2.4,
      and come out as negative numbers in 2.4+.
      
      Windows trigger.__init__:  Don't make 50 guesses at a port number
      to use, let Windows pick an available port for us.  Also documented
      the baffling single-thread socket setup dance, which took an hour to
      reverse-engineer (in large part because it used a bare "except" w/ no
      clue as to why).
      80343fd8
  2. 16 Jun, 2005 2 commits
  3. 14 Jun, 2005 1 commit
  4. 09 Jun, 2005 2 commits
  5. 06 Jun, 2005 4 commits
  6. 03 Jun, 2005 2 commits
  7. 02 Jun, 2005 4 commits
  8. 31 May, 2005 2 commits
  9. 27 May, 2005 3 commits
  10. 26 May, 2005 2 commits
  11. 20 May, 2005 3 commits
  12. 19 May, 2005 5 commits
  13. 18 May, 2005 1 commit
  14. 13 May, 2005 1 commit
  15. 12 May, 2005 3 commits
    • Tim Peters's avatar
      checkUndoInVersion(): Add an optional `hook` argument. · b8bcad99
      Tim Peters authored
      This gets called "in the middle" of the test, if specified.
      ZRS 1.5 uses this to pass a callback that arranges to start a
      ZRS secondary then.  ZRS had its own copy of this test, but
      it's a miserable & messy test, and the copy it had failed in
      5 different places when using ZODB 3.4 (it had gotten way of
      synch with changes since ZODB 3.2).
      
      Also removed all traces of the bizarre _x_dostore() method.
      Not sure what that was about, but if the comments were right
      we don't care about ZEO 1.0 anymore.
      b8bcad99
    • Tim Peters's avatar
      ZEO/tests/zeoserver.py, log(): repair broken interface · 6a7a79dc
      Tim Peters authored
      between old logging code and the use of Python's logging
      package.
      
      ZODB/tests/TransactionalUndoStorage.py, _exercise_info_indices():
      Jeez Louise, the new tests I added for undoInfo+undoLog work fine
      in ZODB, but break the ZRS tests(!).  They close the DB "too soon",
      and in one of the ZRS scenarios that leaves a recovering secondary
      without a primary to recover from.
      6a7a79dc
    • Tim Peters's avatar
      undoInfo() and undoLog() almost always returned wrong # of results. · 38aa0758
      Tim Peters authored
      Repaired, + new tests.
      38aa0758
  16. 11 May, 2005 3 commits
  17. 09 May, 2005 1 commit