1. 24 Oct, 2016 1 commit
    • Arnaud Fontaine's avatar
      MailHost: Set SMTP socket timeout to 16s (#20161019-4A3BD2). · ec3c9cbc
      Arnaud Fontaine authored
      With old versions of Zope, it was possible to define the SMTP connection
      timeout but this is not possible anymore even though MailHost, in turn
      using zope.sendmail, uses Python smtplib library.
      
      This meant that once connect() was called, it may have taken around 2
      minutes or more before timeout (and this is OS-specific as well)
      blocking one Zope thread.
      ec3c9cbc
  2. 20 Oct, 2016 2 commits
  3. 19 Oct, 2016 11 commits
  4. 18 Oct, 2016 1 commit
  5. 16 Oct, 2016 2 commits
  6. 14 Oct, 2016 6 commits
  7. 11 Oct, 2016 1 commit
  8. 07 Oct, 2016 2 commits
  9. 06 Oct, 2016 2 commits
    • Cédric Le Ninivin's avatar
      erp5_officejs: Fix test · 022bf140
      Cédric Le Ninivin authored
      by adding  timeout in order to prevent an error from changing page before
      finishing loading the iframed setting gadget
      022bf140
    • Jérome Perrin's avatar
      Fix timezone problems with formprintout · 544c68e0
      Jérome Perrin authored
      When pusing to for_testrunner_1 branch, we often have this failure on testFormPrintoutAsODT:
      
      ```
      ======================================================================
      FAIL: test_field_replacement_with_variable (testFormPrintoutAsODT.TestFormPrintoutAsODT)
      test variables replacement in ODT documents.
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/srv/slapgrid/slappart9/srv/testnode/zl/soft/4a13de8a0fdf926ddebab0387de0dc5e/parts/erp5/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 1252, in test_field_replacement_with_variable
          self.assertEqual(node.text, value.strftime('%d/%m/%Y %H:%M:%S'))
      AssertionError: '06/12/2010 11:33:15' != '06/12/2010 11:24:15'
      ```
      
      After some investigation, turned out that:
      * tests where always failing when running by `COMP-2544-3Nodes-ERP5PROJECT2` testnode
      * This machine uses `SystemV/CST6CDT` as timezone
      * the test fails in the same way when running locally with `TZ=SystemV/CST6CDT`
      
      I belive this fixes, I tried running under `SystemV/CST6CDT`, `UTC` and `Europe/Paris`  TZ and it passes for all cases. 
      
      /reviewed-on nexedi/erp5!174
      544c68e0
  10. 05 Oct, 2016 12 commits