1. 29 Aug, 2008 5 commits
    • Jim Fulton's avatar
      Added assertion data. · d457f745
      Jim Fulton authored
      d457f745
    • Jim Fulton's avatar
      Updated the mechanism to select test server ports to remove a source · 475ee253
      Jim Fulton authored
      of intermittent test failures.  In ConnectionTests, a random port was
      selected without checking if it was in use.  testZEO.get_port (moved
      to forker) picked a random port, checking if it was in use, but
      clients actually used that port *and* the following one.  Now check
      that the returned and subsequent ports are free. (Of course, they
      could get used betweed the time they're selected and the time they are
      used by the test. Oh well.
      475ee253
    • Jim Fulton's avatar
      In ClientStorage, There was a flag to record whether a connection is · 47f8e09b
      Jim Fulton authored
      read_only. It was set when a connection was tested, before the
      connection was attached t the storage.  This made me wonder if the
      flag and connection could get out of sync.  Because of details of the
      complex connection dance, it appears that the flag will have a usable
      value, almost by accident.  Ironically, if the storage was opened
      read-only, this flag was set to true.  This all seemed very fragile,
      and probably a bug magnet.  I refactored this so the flag is on the
      connection, rather than the storage.  I also arranged that if the
      storage is opened read-only, the flag is True.
      47f8e09b
    • Jim Fulton's avatar
      Try a little harder to empty the socket map. · 597a68d9
      Jim Fulton authored
      597a68d9
    • Jim Fulton's avatar
      Fixed a trigger leak, introduced when I removed ThreadedAsync, that · 32d29360
      Jim Fulton authored
      caused an unneeded trigger to be created for each client
      connection. This caused tests hang due to running out of file handles.
      
      Let all server connections share a single trigger to avoid using too
      many file handles in the server.
      32d29360
  2. 27 Aug, 2008 1 commit
  3. 25 Aug, 2008 1 commit
  4. 04 Aug, 2008 2 commits
  5. 24 Jul, 2008 1 commit
  6. 21 Jun, 2008 2 commits
  7. 20 Jun, 2008 1 commit
  8. 05 Jun, 2008 2 commits
  9. 22 May, 2008 1 commit
    • Dieter Maurer's avatar
      fix for https://bugs.launchpad.net/zodb/+bug/182833 (Severe ZEO protocol error) · 5f62fd03
      Dieter Maurer authored
      Notes:
       I had to exclude 'kill_does_not_cause_cache_corruption (ZEO.tests.test_cache.__test__)' from the test as it deterministically hung on my platform (with or without my fix)
       Running the remaining test suite caused Ran 3279 tests with 5 failures and 0 errors in 17 minutes 31.116 seconds and one import problem -- all failures and problems in zope.testing-3.5.1-py2.4.egg, i.e. unrelated to my fix:
      Tests with failures:
         /home/dieter/ZopeSVN/W/ZODB/eggs/zope.testing-3.5.1-py2.4.egg/zope/testing/testrunner-coverage.txt
         /home/dieter/ZopeSVN/W/ZODB/eggs/zope.testing-3.5.1-py2.4.egg/zope/testing/testrunner-debugging.txt
         /home/dieter/ZopeSVN/W/ZODB/eggs/zope.testing-3.5.1-py2.4.egg/zope/testing/testrunner-edge-cases.txt
         /home/dieter/ZopeSVN/W/ZODB/eggs/zope.testing-3.5.1-py2.4.egg/zope/testing/testrunner-layers-ntd.txt
         /home/dieter/ZopeSVN/W/ZODB/eggs/zope.testing-3.5.1-py2.4.egg/zope/testing/testrunner-colors.txt
      
      Test-modules with import problems:
        zope.testing.testrunner.tests
      5f62fd03
  10. 15 May, 2008 4 commits
    • Jim Fulton's avatar
      Updated · 145a30d6
      Jim Fulton authored
      145a30d6
    • Jim Fulton's avatar
      Fixed bug: Cross-database references to databases with empty names · 3d7e8e4d
      Jim Fulton authored
      weren't constructed properly.
      3d7e8e4d
    • Jim Fulton's avatar
      Merged cache fixes from 3.8 branch: · 100a2198
      Jim Fulton authored
      - The cache used an excessive amount of memory, causing applications
        with large caches to exhaust available memory.
      
      - Fixed a number of bugs in the handling of persistent ZEO caches:
      
      - Cache records are written in several steps.  If a process exits
          after writing begins and before it is finishes, the cache will be
          corrupt on restart.  The way records are writted was changed to
          make cache record updates atomic.
      
      - There was no lock file to prevent opening a cache multiple times
          at once, which would lead to corruption.  Persistent caches now
          use lock files, in the same way that file storages do.
      
      - A bug in the cache-opening logic led to cache failure in the
          unlikely event that a cache has no free blocks.
      100a2198
    • Jim Fulton's avatar
      Added a __del__ method to fsIndex. · 0d1f0cfa
      Jim Fulton authored
      0d1f0cfa
  11. 09 May, 2008 1 commit
  12. 03 May, 2008 4 commits
  13. 23 Apr, 2008 1 commit
  14. 09 Apr, 2008 1 commit
  15. 15 Mar, 2008 1 commit
  16. 07 Mar, 2008 1 commit
  17. 22 Feb, 2008 2 commits
  18. 18 Feb, 2008 2 commits
  19. 13 Feb, 2008 1 commit
  20. 12 Feb, 2008 1 commit
  21. 31 Jan, 2008 4 commits
  22. 29 Jan, 2008 1 commit