1. 12 Nov, 2021 2 commits
  2. 11 Nov, 2021 1 commit
  3. 10 Nov, 2021 3 commits
  4. 05 Nov, 2021 1 commit
    • Jérome Perrin's avatar
      testing: fix resource warning with ManagedHTTPServer · e6deadac
      Jérome Perrin authored
      We fork a subprocess to serve requests, but the listening socket is bound
      in server constructor and inherited by subprocess. With this pattern, we
      have to explicitly close the socket from parent process to prevent the
      leak.
      e6deadac
  5. 04 Nov, 2021 1 commit
  6. 29 Oct, 2021 1 commit
  7. 25 Oct, 2021 1 commit
  8. 23 Oct, 2021 3 commits
  9. 22 Oct, 2021 7 commits
  10. 19 Oct, 2021 3 commits
    • Rafael Monnerat's avatar
      slapos_mysql_innodb_catalog: Index consistency_error · 1822be3b
      Rafael Monnerat authored
          We index now for very few portal types the bool(checkConsistency()) in order to search inconsistent documents.
      
          The indexation is limited to the scope we must monitor rather them all documents for 2 major reasons:
      
              - Too much useless constrants on erp5 code base, not applicable for our project (ie.: On person)
              - Performance on indexation is penalized from this extra cost, specially when index large trees (Deliveries or open orders)**
      
          ** Not so much, however, on a scale of millions of documents it can make a major difference, so this commits keeps up to the minimal implementation.
      1822be3b
    • Rafael Monnerat's avatar
      slapos_accounting: Skip garbage from the report · 9661e882
      Rafael Monnerat authored
         If partition is None, it means the computer was reformated and there is garbage on it. It is meaningless to process this.
      9661e882
    • Xavier Thompson's avatar
      slapproxy: Fix software URL migration · 23f35307
      Xavier Thompson authored
      The `local-software-release-url` option allows migrating the software
      URLs which are local paths by rebasing them on the path provided by
      the option.
      
      Do not migrate software release URLs if the old root path and the
      new root path are subpaths or superpaths one of the other.
      
      In addition, do not migrate an URL if the old one refers to an
      existing file and the new one doesn't.
      
      Also, create a backup of the database before migrating.
      
      See merge request nexedi/slapos.core!338
      23f35307
  11. 18 Oct, 2021 1 commit
  12. 15 Oct, 2021 5 commits
  13. 14 Oct, 2021 1 commit
  14. 12 Oct, 2021 1 commit
    • Łukasz Nowak's avatar
      standalone: Expose specific exceptions · dc559dad
      Łukasz Nowak authored
      Thanks to more specific exceptions the caller is able to understand what
      exactly happened during processing, especially useful in case of the caller
      uses testcase, and can sneak into real problems during setUpClass.
      dc559dad
  15. 11 Oct, 2021 2 commits
    • Łukasz Nowak's avatar
      testing/testcase: Simplify setUpClass override · 9a7d24ae
      Łukasz Nowak authored
      Some advanced tests setting up clusters need to being able to come in half of
      the setup process to do some actions on the cluster in order to have its setup
      finished, thus allow to override extracted _setUpClass and separated
      waitForInstance, so that those actions can be executed.
      9a7d24ae
    • Łukasz Nowak's avatar
      testing/testcase: Allow to skip software checks and rebuilds · cf39b7f0
      Łukasz Nowak authored
      The SLAPOS_TEST_SKIP_SOFTWARE_REBUILD changes the default to rebuild always
      the software by setting install_all to true.
      
      The SLAPOS_TEST_SKIP_SOFTWARE_CHECK allow to skip software checks, if not
      wanted by the developer.
      cf39b7f0
  16. 07 Oct, 2021 2 commits
  17. 06 Oct, 2021 5 commits