1. 15 May, 2019 2 commits
    • Boxiang Sun's avatar
      b322d3a2
    • Vincent Pelletier's avatar
      ZSQLCatalog.SQLCatalog: Stop updating _max_uid . · 2eb01519
      Vincent Pelletier authored
      Even if it does not lead to ConflictError being raised, updating _max_uid
      has a cost and a transaction-serialising effect (most noticeable with NEO).
      This value is not used (outside of a bootstrap value for portal_ids
      generator), so stop doing this unnecessary work.
      Also, fold produceUid into its only caller.
      Also, change the folded pattern to react to an empty buffer rather than
      test for emptiness before each access.
      2eb01519
  2. 13 May, 2019 3 commits
  3. 10 May, 2019 1 commit
  4. 06 May, 2019 2 commits
  5. 03 May, 2019 5 commits
  6. 02 May, 2019 5 commits
  7. 29 Apr, 2019 3 commits
  8. 26 Apr, 2019 2 commits
  9. 25 Apr, 2019 1 commit
  10. 24 Apr, 2019 5 commits
    • Sebastien Robin's avatar
      task_distribution: better distribute the work depending on the priority of test suites · 245e514a
      Sebastien Robin authored
      Before we were looking only create date of test results to give priority of work to do for a test nodes.
      So we had cases where some test suites with medium priority had 5 testnodes, and test suites with
      high priority having only 3 testnodes.
      
      So clearly distribute the work depending on the maximum quantity of testnode we want.
      245e514a
    • Sebastien Robin's avatar
      test result: immediately redraft test result line on task failure · fe3bf27f
      Sebastien Robin authored
      Right now we have this scenario:
      - test result line is started
      - sometimes, runTestSuite fails (like timeout), failure is reported
        but test result line remains started (we don't know yet which
        line is associated with testnode)
      - when a test result line is "started" since more than 4 hours,
        test result line is redrafted
      - test can be reexecuted
      Speed up by removing the need of waiting alarm, by knowing which
      test result line is executed by which test node, and by redrafting
      immediately the test result line on test node failure
      fe3bf27f
    • Vincent Pelletier's avatar
      ERP5Type: Allow overriding _getAcquireLocalRoles . · 58d4ab8e
      Vincent Pelletier authored
      Put auto-generated _getAcquireLocalRoles at the end of mro, removing it
      from Base.
      Also, document why it is treated specially here.
      Also, add _getAcquireLocalRoles methods on a few leaf classes whose
      instances fake being portal types, without actually being proper document
      instances. At least, the ones which are detected in unit tests. The
      proper fix would likely rather be to make them proper document classes,
      but this carries data migration concerns which go beyond the scope of
      this regression fix (_getAcquireLocalRoles was not possible to override
      anymore).
      58d4ab8e
    • Vincent Pelletier's avatar
      839e69d9
    • Vincent Pelletier's avatar
  11. 23 Apr, 2019 1 commit
  12. 19 Apr, 2019 1 commit
  13. 18 Apr, 2019 1 commit
  14. 17 Apr, 2019 8 commits