An error occurred fetching the project authors.
  1. 01 Dec, 2016 1 commit
    • Julien Muchembled's avatar
      Remove some useless unit tests · 1e4a4178
      Julien Muchembled authored
      Many "unit" tests (!= "threaded" tests) don't do more than checking
      implementation details, and increase coverage artificially. As with testEvent
      in commit 71e30fb9, most of these tests will
      either be removed or rewritten as threaded tests.
      
      The fact that the remaining unit tests actually cover code that other test
      don't gives motivation to maintain them. It will be also less code to update
      when switching to https://pypi.python.org/pypi/mock
      
      I proceeded as follows:
      
      1. Measure coverage for all tests except unit tests. While checking my work,
         I found that coverage stats for threaded/functional/zodb tests are quite
         unstable, so I restarted from the beginning by doing this measure several
         times and only keeping the intersection of coverage data.
      
      2. Measure coverage individually for each 'unit' tests, and substract the
         each result with the data in 1.
      
      3. The candidates for deletion are those without any code covered.
      
      Tests I didn't delete:
      
      - neo.tests.master.testElectionHandler: I always do minimal changes about
        election, as long as there's no serious review.
      
      - neo.tests.master.testMasterPT.MasterPartitionTableTests.test_13_outdate
      
      - 4 tests in neo.tests.testPT:
        test_01_Cell, test_04_removeCell, test_06_clear, test_08_filled
      
      - neo.tests.storage.testStorage{MySQL,SQLite}
      
      - neo.tests.testUtil.UtilTests.testReadBufferRead
      
      In a way, this commit is actually quite conservative. There are still many
      useless tests that only check error paths and for simple tested methods, this
      is just duplicating thie tested code.
      1e4a4178
  2. 27 Nov, 2016 1 commit
    • Julien Muchembled's avatar
      lib.node: fix NodeManager accessors returning identified nodes · e7cccf01
      Julien Muchembled authored
      Listing connected/connecting nodes with a UUID is used:
      - in one place by storage nodes: here, it does not matter if we skip nodes that
        aren't really identified
      - in many places by the master, only for server connections, in which case we
        have equivalence with real identification
      
      So in practice, NodeManager is only simplified to reuse the 'identified'
      property of nodes.
      e7cccf01
  3. 25 Jan, 2016 1 commit
  4. 23 Sep, 2015 1 commit
  5. 21 May, 2015 1 commit
  6. 07 Jan, 2014 1 commit
  7. 20 Aug, 2012 1 commit
  8. 13 Jul, 2012 1 commit
  9. 13 Mar, 2012 1 commit
  10. 26 Oct, 2011 1 commit
  11. 12 Apr, 2011 1 commit
  12. 17 Jan, 2011 1 commit
  13. 02 Nov, 2010 2 commits
  14. 01 Nov, 2010 1 commit
  15. 29 Oct, 2010 1 commit
  16. 21 Jun, 2010 1 commit
    • Grégory Wisniewski's avatar
      Move stored OIDs check to master side. · 1f629dfc
      Grégory Wisniewski authored
      - The storages no more check the last OID during a store
      - The storages inconditionnaly store the last OID notified by the master
      - The master check during the if a greater oid was used by a client
      - The master always notify the last OID when a pool is generated or if the
      check above is True
      - The master's transaction manager manager the last oid and oid generator
      
      git-svn-id: https://svn.erp5.org/repos/neo/trunk@2180 71dcc9de-d417-0410-9af5-da40c76e7ee4
      1f629dfc
  17. 05 May, 2010 1 commit
  18. 26 Mar, 2010 1 commit
  19. 22 Feb, 2010 1 commit
  20. 11 Feb, 2010 1 commit
  21. 01 Feb, 2010 1 commit
  22. 22 Jan, 2010 1 commit
  23. 13 Jan, 2010 3 commits
  24. 12 Jan, 2010 1 commit
  25. 19 Oct, 2009 1 commit
  26. 07 Oct, 2009 1 commit
  27. 01 Oct, 2009 3 commits
  28. 30 Sep, 2009 1 commit
  29. 29 Sep, 2009 1 commit
  30. 17 Sep, 2009 1 commit
  31. 29 Jul, 2009 1 commit
  32. 23 Jul, 2009 2 commits
  33. 17 Jul, 2009 1 commit
  34. 24 Jun, 2009 1 commit