- 27 Dec, 2018 1 commit
-
-
Jérome Perrin authored
Tests are sometimes failing with: ``` ====================================================================== FAIL: testForwardToMasterInList (slapos.tests.slapproxy.TestMultiMasterSupport) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart9/srv/testnode/byq/inst/test0-0/parts/slapos.core/slapos/tests/slapproxy/__init__.py", line 1003, in setUp self.startExternalProxy() File "/srv/slapgrid/slappart9/srv/testnode/byq/inst/test0-0/parts/slapos.core/slapos/tests/slapproxy/__init__.py", line 1050, in startExternalProxy self.fail('Could not start external proxy.') AssertionError: Could not start external proxy. ``` especially on `COMP-2203-3Nodes-ERP5PROJECT2`. I logged on that machine and check the tests, it was really a problem that this slapproxy needs more than the `(20 * .1) = 2` seconds this tests waits before concluding that slap proxy could not start. Change the waiting loop to wait more each time. With this approach the max waiting time is 20 seconds. /reviewed-on nexedi/slapos.core!83
-
- 26 Dec, 2018 2 commits
-
-
Bryton Lacquement authored
/reviewed-on nexedi/slapos.core!85
-
Jérome Perrin authored
this XXX comment no longer apply
-
- 21 Dec, 2018 2 commits
-
-
Alain Takoudjou authored
put back `related_predecessor_but_with_different_title_than_catalog_title` which was removed by commit 85c7fb26 /reviewed-on nexedi/slapos.core!80
-
Jérome Perrin authored
SlapOS test is too verbose, see http://community.slapos.org/test_result_module/20181211-426F13FE/6 as an example. The main goal of this work is to make this easier to read. Other improvements: * introduce `subprocess32` on python2 to use new subprocess features on python2 * honor `SLAPOS_TEST_DEBUG` environment variable to output logs and also enable debugging utilities ( unittest's `Ctrl+C` handler ) /reviewed-on nexedi/slapos.core!73
-
- 17 Dec, 2018 6 commits
-
-
Alain Takoudjou authored
Upgrade Decision which are not closed are added to ticket listbox Closed ticket are now hidden /reviewed-on nexedi/slapos.core!75
-
Jérome Perrin authored
Use logger which is only enabled in debug mode. Also don't print tips when executing this file, describe it in the docstring instead.
-
Jérome Perrin authored
Especially, don't use None which cause output on the console.
-
Jérome Perrin authored
-
Jérome Perrin authored
to keep tests silent. On python2, this uses subprocess32, which backports DEVNULL (and default setting of closing file descriptors).
-
Jérome Perrin authored
subprocess32 backports the good things from python3's subprocess and is recommended on https://docs.python.org/2/library/subprocess.html
-
- 16 Dec, 2018 3 commits
-
-
Jérome Perrin authored
it's now configured in tests/__init__.py
-
Jérome Perrin authored
When running tests we don't want to clutter the output with logs. Environment variable SLAPOS_TEST_DEBUG can be set to restore the verbosity
-
Jérome Perrin authored
Instead of printing when passed log=True, always log at DEBUG level, application can decide what to do with these logs.
-
- 14 Dec, 2018 5 commits
-
-
Alain Takoudjou authored
Upgrade Decision which are not closed are added to ticket listbox Closed ticket are now hidden
-
Alain Takoudjou authored
-
Bryton Lacquement authored
-
Julien Muchembled authored
-
Thomas Gambier authored
This will let the connection parameters with multilines value be correctly displayed. I also fixed the linter. /reviewed-on !74
-
- 13 Dec, 2018 16 commits
-
-
Rafael Monnerat authored
slapos_crm: testSlapOSCRMSkins: The order of the elements of portal_catalog are not always the same.
-
Rafael Monnerat authored
Probably incomplete as we need to check for activities.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 11 Dec, 2018 2 commits
-
-
Rafael Monnerat authored
-
Thomas Gambier authored
/reviewed-on nexedi/slapos.core!71
-
- 06 Dec, 2018 1 commit
-
-
Guillaume Hervier authored
/reviewed-on nexedi/slapos.core!70
-
- 04 Dec, 2018 2 commits
-
-
Alain Takoudjou authored
[slapos_crm] fix failing crm skins tests after include error message in generated ticket for hosting subscription
-
Rafael Monnerat authored
-