1. 21 Sep, 2018 2 commits
    • Jérome Perrin's avatar
      testnode: setup SlapOS for test suite only at test startup · f3d07c2f
      Jérome Perrin authored
      Our test nodes were installing seleniumrunner software in a loop, which
      uses a lot of resources on the git repository and on the testnode
      itself. Now that it's done only once at startup, this should reduce the
      load a lot, but updates to seleniumrunnner profile needs to restart test
      nodes.
      
      Also add methods on taskdistributor.DummyTaskDistributor so that
      ScalabilityTest slapos test node can be prepared.
      f3d07c2f
    • Jérome Perrin's avatar
      testERP5TestNode: undo patch in try/finally · c0ac5f74
      Jérome Perrin authored
      otherwise it's not executed when test has an error.
      
      We should consider using mock library here.
      c0ac5f74
  2. 20 Sep, 2018 7 commits
  3. 19 Sep, 2018 1 commit
  4. 18 Sep, 2018 8 commits
  5. 17 Sep, 2018 18 commits
  6. 15 Sep, 2018 1 commit
    • Julien Muchembled's avatar
      Revert "Folder: call activate on the object instead of... · 1cd37609
      Julien Muchembled authored
      Revert "Folder: call activate on the object instead of portal_activities.activateObject in _recurseCallMethod()."
      
      This reverts commits 3d3ec3cb ((+ fixup), which
      broke recursion to objects that don't inherit ActiveObject, as explained in the
      docstring.
      
      I also think it was wrong in that default activate parameters disappear at the
      end of the transaction whereas _recurseCallMethod may activate itself to avoid
      creating to many activities at once. IOW, it's important that created
      activities are the same no matter where _recurseCallMethod splits the browsing.
      
      This change needed more review, as well as a unit test.
      1cd37609
  7. 14 Sep, 2018 3 commits