OpenSearch/qa
William Brafford 2311bc62f7
Filter empty lines from "docker ls" response (#52081)
* Filter empty lines from docker ls response

In order to cut down on test time, our docker/vagrant tests build the
docker image outside of the vagrant VM. When we get around to launching
the Vagrant VM, we mount that already-built docker image to a known
location. At that point, we need to load the docker image. But we only
want to load it once. As we're running tests, we use "docker ls" to
check whether the local image is loaded for use. Empty output from the
particular ls invocation means no image is loaded.

There was a bug in how we checked this. In Java, splitting an empty
string will yield an array containing one empty string. So when we're
counting the output from the docker ls command, we need to filter out
empty lines in order to proceed to loading the image for docker tests.
2020-02-14 11:39:13 -05:00
..
ccs-unavailable-clusters Backport remote proxy mode stats and naming (#50402) 2019-12-19 18:02:48 -07:00
die-with-dignity RestHandlers declare handled routes (#52123) 2020-02-09 22:48:32 -07:00
evil-tests Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
full-cluster-restart Always use bundled JDK for external cluster nodes when BWC testing (#51505) (#51701) 2020-01-30 14:35:43 -08:00
logging-config ThreadPool and ThreadContext are not closeable (#43249) (#49273) 2019-11-19 13:15:16 -07:00
mixed-cluster Always use bundled JDK for external cluster nodes when BWC testing (#51505) (#51701) 2020-01-30 14:35:43 -08:00
multi-cluster-search Backport remote proxy mode stats and naming (#50402) 2019-12-19 18:02:48 -07:00
no-bootstrap-tests Spawn controller processes from a different directory on macOS (#47013) 2019-09-27 14:02:40 +01:00
os Filter empty lines from "docker ls" response (#52081) 2020-02-14 11:39:13 -05:00
remote-clusters Add Docker-based tests for proxy connection mode (#51658) 2020-02-03 09:45:38 +01:00
repository-multi-version Always use bundled JDK for external cluster nodes when BWC testing (#51505) (#51701) 2020-01-30 14:35:43 -08:00
rolling-upgrade Always use bundled JDK for external cluster nodes when BWC testing (#51505) (#51701) 2020-01-30 14:35:43 -08:00
smoke-test-client Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-http Remove DeprecationLogger from route objects (#52285) 2020-02-12 15:05:41 -07: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 Test modifications for FIPS 140 mode (#51832) (#52128) 2020-02-10 10:57:03 +02:00
unconfigured-node-name Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
verify-version-constants Always use bundled JDK for external cluster nodes when BWC testing (#51505) (#51701) 2020-01-30 14:35:43 -08: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