- 28 Aug, 2018 40 commits
-
-
Julien Muchembled authored
Commit 89a17f04 broke live tests using ERP5TypeTestCase.publish when they are run from command line. Note that such live test could not be run from ERP5. More refactoring is needed because ERP5TypeLiveTestCase should only take care of adapting ERP5TypeTestCaseMixin to an ERP5 environment, and runUnitTest should never use it. Commit fd9219af looks a wrong approach.
-
Julien Muchembled authored
A change that also applies to traditional tests is that the password does not need to be known when logging with basic authentication. If the given password is empty (e.g. 'ERP5TypeTestCase:'), password validation passes regardless the actual password: to keep things secure, this exception is only valid for the test thread and during the call to publish(). This is a simple way to deal with random passwords in live tests.
-
Łukasz Nowak authored
This results with calling correct methods on the server.
-
Sebastien Robin authored
This hopefully fix the random issue of having test results not linked to a project. Indeed, distributor/createTestResult was called in two different times: - by the testnode, with the project title - by the runTestSuiteCommand, without the project title. This was not an issue most of the time, since the test result is already created. But if it was not there (like due to a cancelled test), a test result without project was created
-
Yusei Tahara authored
-
Yusei Tahara authored
erp5/tests/testERP5TestNode.py: Fix test_scalability_04_constructProfile. repository option is required for scalability test profile and it was added on commit 58d92a84.
-
Yusei Tahara authored
erp5/tests/testERP5TestNode.py: Fix test_zzzz_scalability_19_xxxx. prepareFrontendMasterInstance was removed on commit 4048ab39.
-
Yusei Tahara authored
-
Yusei Tahara authored
erp5/util/testnode, scalability_test: Stop using a dummy frontend master and use host.vifib.net frontend with a valid SSL certificate instead. Always use https. Conflicts: scalability_test/__init__.py
-
Yusei Tahara authored
erp5/util/testnode: hosting subscription url was not updated once it was set. As a result, since testnode watched an old destroyed instance, the next test never started. Thus don't store hosting subscription url. It changes from time to time.
-
Yusei Tahara authored
-
Yusei Tahara authored
-
Yusei Tahara authored
-
Arnaud Fontaine authored
erp5.util.testbrowser: Refactor of openNoVisit() and {Image,Submit}Control for recent zope.testbrowser (followup of 5a0b3763).
-
Jérome Perrin authored
Instead of sleeping, try using an API method until it stops raising ConnectionError. /reviewed-on !650
-
Roque authored
- hardcoded parameter removed - minor changes in slapos master communicator
-
Roque authored
-
Roque authored
- before create a new instance checks if the current testsuite has an old one - re-uses file-dictionary functions of frontend software checks - minor fixes /reviewed-on nexedi/erp5!615
-
Roque authored
-
Jérome Perrin authored
By using `os.path.normpath` we also support paths with a trailing slash.
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
- requests to bootstrap and site availability urls using a script run with userhosts - hardcoded parameters removed - try-exception controls in communication with master - general refactoring and cleanup
-
Roque authored
-
Roque authored
- bug fixing while getting instance_guid - minotr refactoring in request parameters
-
Jérome Perrin authored
This should fix the problem that `Revision History` is unusable on test results because tests have a different name when they have been running on different paths
-
Jérome Perrin authored
This will be used to run tests using interpreter with pre-installed eggs, generated with zc.recipe.egg's interpreter
-
Roque authored
- testnode saves in its config the repositories paths - minor refactoring and cleanup /reviewed-on nexedi/erp5!606
-
Roque authored
-
Roque authored
-
Roque authored
- the commands to run the tests are launched using threads - a thread is used to ask instance for metrics periodically - refactoring for a more generic code - refactoring in log handling - old code related to created documents and create users removed - new script parameters - general refactoring and cleanup
-
Roque authored
- hardcoded software release url removed (http with password protection for now) - scalability runner handles frontend request. It asks for a local master frontend apache software installation and instance request. - testsuite brings the urls corresponding to instance, bootstrap, metrics collection. - vinculation between scalability runner and runScalability script. Process manager is used to run the script as a command. - scalability runner manages the test result cases and loops among different testsuite configurations. - userhosts software is used to run the command for the runScalability script, to solve DNS. - refactoring according to last changes in TaskDistribution - general refactoring and cleanup
-
Roque authored
-
Roque authored
- communicator considers requests of master frontend and instance destruction. - communicator retrieves frontend related information from instances. - minor refactoring and code cleanup.
-
Roque authored
- TestThread runs a target command using a testnode-process-manager - TestMetricThread makes a get request to a target url periodically and collects the responses
-
Roque authored
-
Roque authored
-