commit | e8472dfb511dffd8c459c13a354ac7743e237fe8 | [log] [tgz] |
---|---|---|
author | Eric Norman <enorman@apache.org> | Thu Oct 01 18:20:20 2020 -0700 |
committer | Eric Norman <enorman@apache.org> | Thu Oct 01 18:20:20 2020 -0700 |
tree | 91fdd59a38f66eb3c98e548170390024b0cc15f3 | |
parent | e1866d6918e0fafafdfd2bba15fbfd360b0eaac9 [diff] |
SLING-9785 Provide additional configuration to influence the server ready checking
This module is part of the Apache Sling project.
Sling Server Setup utilities.
Property Name | Default | Purpose |
---|---|---|
test.server.url | If the server is already running, this is the full address of your target server. | |
test.server.hostname | localhost | The hostname for the sling server that will be started |
test.server.username | admin | The username to use to login for interacting with the OSGi Web Console |
test.server.password | admin | The password of the user to use for interacting with the OSGi Web Console |
server.ready.timeout.seconds | 60 | The maximum amount of time in seconds to wait for the server to become ready |
server.ready.timeout.initial.delay.seconds | 0 | The duration to wait in seconds before checking if the server is ready |
server.ready.timeout.delay.seconds | 1 | The duration of the delay in seconds between attempts to check if the server is ready |
server.ready.quiet.period.seconds | 0 | The duration of a quiet period in seconds after the server has become ready and the tests begin running |
server.ready.path.* | Prefix for properties whose value describe how to check if the server is ready. The syntax of each value is one of: PatternDescription[relative_url]:[response_content_contains]Load the page and check if the response contains the content string[relative_url]:[response_content_pattern]:regexpLoad the page and check if the response contains the regex pattern | |
keepJarRunning | false | Set to true if you want the server to remain running - you can then run tests against it from another VM. |
additional.bundles.path | The value is a comma-separated list of additional bundles to install (or uninstall) | |
additional.bundles.uninstall | false | ValueDescriptiontrueuninstall the additional bundlesfalseinstall the additional bundles |
sling.additional.bundle.* | Prefix for properties whose value describes additional bundles to install | |
start.bundles.timeout.seconds | 30 | The maximum amount of tiem to wait for the additional bundles to start |
bundle.install.timeout.seconds | 10 | The maximum amount of tiem to wait for the additional bundles to install |
jar.executor.server.port | 8765 | The port number for the sling server that will be started |
jar.executor.jar.folder | The folder that contains the executable jar | |
jar.executor.jar.name.regexp | The name of the executable jar file | |
jar.executor.vm.options | Additional options to pass along to the jvm | |
jar.executor.work.folder | The working directory for the executable jar | |
jar.executor.jar.options | Additional options for the jar execute command line | |
jar.executor.exit.timeout.seconds | 30 | The maximum time in seconds to wait for for the executor process to exit |
jar.executor.wait.on.shutdown | false | True to wait for the executor process to exit normally, false to not wait |
jar.executor.java.executable.path | The path to the java executable | |
jar.executor.synchronous.exec | True to execute synchronous, false otherwise | |
jar.executor.synchronous.exec.expected.result | 0 | The exit code expected from the executor |