- 06 Sep, 2018 40 commits
-
-
Roque authored
-
Roque authored
-
Roque authored
-
Julien Muchembled authored
The /bin/ folder of all extra SR provided by the testnode are added to PATH. SR must fixed either by moving executables or adding symlinks. The testnode will stop looking at the parameter list of runTestSuite, and --firefox_bin/--xvfb_bin are deprecated. This is part of defining a generic and unique API between the testnode and the tested software.
-
Julien Muchembled authored
-
Julien Muchembled authored
Conflicts: erp5/util/testnode/ProcessManager.py
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
A lot was found with pylint.
-
Julien Muchembled authored
-
Łukasz Nowak authored
Removed code from not implemented and not needed compatibility layer. /reviewed-on nexedi/erp5!525
-
Sebastien Robin authored
-
Rafael Monnerat authored
-
Łukasz Nowak authored
There is no need for any client to call tool directly.
-
Łukasz Nowak authored
This results with calling correct methods on the server.
-
Łukasz Nowak authored
The module is to access Distributor not the whole tool.
-
Łukasz Nowak authored
This results with calling correct methods on the server.
-
Roque authored
- some method names were changed to make them clearer - new intermediate class 'SlapOSTester'
-
Roque authored
- method waitInstance moved from runner to communicator - new simple methods in communicator for request and wait instance - new methods to modularize runner code - communicator initialization code moved in runner
-
Roque authored
-
Roque authored
Variable name changed from jsonData to json_data. Old comment deleted.
-
Roque authored
Some methods in the slapos master communicator no longer exist. The unit test for scalability was updated accordingly.
-
Roque authored
An update in zope.testbrowser dropped the mechanize dependency used by the browser. Now it uses WebTest instead. Details of the update: https://pypi.python.org/pypi/zope.testbrowser/5.2.1
-
Roque authored
- Most of the communication with slapos master is done using the new Slapos Master Communicator instead of Slapos Controller: * supply, request, check instance status, check software status. - Refactor of related methods (waitInstance, isSoftwareReleaseReady, etc.) - Initialization of communicator: initialize connection to SlapOS usign key and certificate - General refactor and cleanup: some unnecesary sentences, comments and methods were removed.
-
Roque authored
- The base of this code comes from some work done by Rafael in here: https://lab.nexedi.com/nexedi/slapos.toolbox/blob/master/slapos/agent/tester.py - Refactor in communication with slap objects for supply and request. - Added method to check if instance is requested. - Refactor in log calls.
-
Łukasz Nowak authored
In order to safely use non-XML allowed characters coming from various sources wrap basestring into xmlrpclib.Binary before sending it to the server.
-
Julien Muchembled authored
Firefox and Xvfb aren not provided by the tested SR, but rather by a separate SR that is installed by the testnode.
-
Łukasz Nowak authored
Also if process_timeout is available in received configuration setup process_manager with transmitted value. Backward compatibility is assured, that if no process_timeout is provided, nothing is being updated. Also process_timeout not set on master (the default), will not change local default.
-
Łukasz Nowak authored
-
Sebastien Robin authored
-
Sebastien Robin authored
Since a process might exit by himself at any time, handle exceptions when we try kill processes
-
Sebastien Robin authored
-
Klaus Wölfel authored
-
Julien Muchembled authored
This prepares for the removal of --firefox_bin and --xvfb_bin options. The API between the testnode and the tested software must be exclusively generic. Conflicts: product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
-
Vincent Bechu authored
/reviewed-on nexedi/erp5!505
-
Vincent Bechu authored
/reviewed-on nexedi/erp5!346
-
Vincent Bechu authored
-
Vincent Bechu authored
-
Vincent Bechu authored
-
Vincent Bechu authored
-