OpenSearch/qa
Jason Tedor f16f65741e Fix when plugins directory is symlink
This commit fixes an issue with the plugins directory being a symbolic
link. Namely, the install plugins command attempts to always create the
plugins directory just in case it does not exist. The JDK method used
here guarantees that the directory is created, and an exception is not
thrown if the directory could not be created because it already
exists. The problem is that this JDK method does not respect symlinks so
its internal existence checks fails, it proceeds to attempt to create
the directory, but the directory creation fails because the symlink
exists. This is documented as being not an issue. We work around this by
checking if there is a symlink where we expect the plugins directory to
be, and only attempt to create if not. We add a unit test that plugin
installation to a symlinked plugins directory works as expected.
2016-05-26 14:10:32 -04:00
..
backwards-5.0 Set version to 5.0.0-alpha3 (#18550) 2016-05-24 16:46:05 +02:00
evil-tests Remove custom plugins path 2016-05-26 10:16:25 -04:00
smoke-test-client Remove settings and system properties entanglement 2016-05-19 14:08:08 -04:00
smoke-test-ingest-disabled Use setting in integration test cluster config 2016-03-15 17:45:17 -04:00
smoke-test-ingest-with-all-dependencies add ability to specify multiple grok patterns (#18074) 2016-05-25 12:20:39 -07:00
smoke-test-multinode Build: Get multi node smoke tests working 2015-11-22 14:49:05 -08:00
smoke-test-plugins Build: Add fixture capabilities to integ tests 2015-12-19 15:46:21 -08:00
smoke-test-reindex-with-groovy Port Delete By Query to Reindex infrastructure 2016-05-19 16:07:50 +02:00
vagrant Fix when plugins directory is symlink 2016-05-26 14:10:32 -04:00