OpenSearch/qa
William Brafford ba9526ec4f
Refactor utility code in qa:os: tests (#49945) (#50000)
This refactor bridges some gaps between a long-running feature branch (#49268) and the master branch.

First of all, this PR gives our PackagingTestCase class some methods to start and stop Elasticsearch that will switch on packaging type and delegate to the appropriate utility class for deb/RPM packages, archive installations, and Docker. These methods should be very useful as we continue group tests by function rather than by package or platform type.

Second, the password-protected keystore tests have a particular need to read the output of Elasticsearch startup commands. In order to make this easer to do, some commands now return Shell.Result objects so that tests can check over output to the shell. To that end, there's also an assertElasticsearchFailure method that will handle checking for startup failures for the various distribution types.

There is an update to the Powershell startup script for archives that asynchronously redirects the output of the Powershell process to files that we can read for errors.

Finally, we use the ES_STARTUP_SLEEP_TIME environment variable to make sure that our startup commands wait long enough before exiting for errors to make it to the standard output and error streams.
2019-12-10 15:00:05 -05:00
..
ccs-unavailable-clusters Enable simple remote connection strategy (#49561) 2019-11-25 16:53:07 -07:00
die-with-dignity Remove Awaitsfix that seems outdated (#49764) 2019-12-03 10:24:55 +01:00
evil-tests Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
full-cluster-restart Fix remote settings upgrade test (#49609) 2019-11-26 16:37:27 -07:00
logging-config ThreadPool and ThreadContext are not closeable (#43249) (#49273) 2019-11-19 13:15:16 -07:00
mixed-cluster Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
multi-cluster-search Add a cluster setting to disallow loading fielddata on _id field (#49166) 2019-11-28 09:35:28 +01:00
no-bootstrap-tests Spawn controller processes from a different directory on macOS (#47013) 2019-09-27 14:02:40 +01:00
os Refactor utility code in qa:os: tests (#49945) (#50000) 2019-12-10 15:00:05 -05:00
rolling-upgrade Add a cluster setting to disallow loading fielddata on _id field (#49166) 2019-11-28 09:35:28 +01:00
smoke-test-client Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-http Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-ingest-disabled Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-ingest-with-all-dependencies Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-multinode Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-plugins Testclusters: convert left-overs from checkPart1 (#43370) 2019-06-25 19:14:45 +03:00
unconfigured-node-name Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
verify-version-constants Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
wildfly Dump wildfly log on start failure (#49892) 2019-12-06 15:55:01 -08:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00