OpenSearch/qa
Jason Tedor 8b6fbe2c11
Add test for dying with dignity (#28987)
I have long wanted an actual test that dying with dignity works. It is
tricky because if dying with dignity works, it means the test JVM dies
which is usually an abnormal condition. And anyway, how does one force a
fatal error to be thrown. I was motivated to investigate this again by
the fact that I missed a backport to one branch leading to an issue
where Elasticsearch would not successfully die with dignity. And now we
have a solution: we install a plugin that throws an out of memory error
when it receives a request. We hack the standalone test infrastructure
to prevent this from failing the test. To do this, we bypass the
security manager and remove the PID file for the node; this tricks the
test infrastructure into thinking that it does not need to stop the
node. We also bypass seccomp so that we can fork jps to make sure that
Elasticsearch really died. And to be extra paranoid, we parse the logs
of the dead Elasticsearch process to make sure it died with
dignity. Never forget.
2018-03-12 23:20:07 -04:00
..
ccs-unavailable-clusters Cross Cluster Search: make remote clusters optional (#27182) 2017-11-21 11:41:47 +01:00
die-with-dignity Add test for dying with dignity (#28987) 2018-03-12 23:20:07 -04:00
evil-tests Remove log4j dependency from elasticsearch-core (#28705) 2018-02-20 09:15:54 -07:00
full-cluster-restart Test: Remove specifying zip distribution in qa tests (#28805) 2018-02-23 13:45:38 -08:00
mixed-cluster Test: Remove specifying zip distribution in qa tests (#28805) 2018-02-23 13:45:38 -08:00
multi-cluster-search Test: Remove specifying zip distribution in qa tests (#28805) 2018-02-23 13:45:38 -08:00
no-bootstrap-tests Plugins: Allow modules to spawn controllers (#28968) 2018-03-11 09:01:27 -07:00
query-builder-bwc Test: Remove specifying zip distribution in qa tests (#28805) 2018-02-23 13:45:38 -08:00
reindex-from-old Reindex: Harden old ES version test 2018-01-26 11:24:48 -05:00
rolling-upgrade Test: Remove specifying zip distribution in qa tests (#28805) 2018-02-23 13:45:38 -08:00
smoke-test-client Create nio-transport plugin for NioTransport (#27949) 2018-01-05 09:41:29 -07:00
smoke-test-http Create nio-transport plugin for NioTransport (#27949) 2018-01-05 09:41:29 -07:00
smoke-test-ingest-disabled Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-ingest-with-all-dependencies version set in ingest pipeline (#27573) 2018-02-21 09:34:51 +01:00
smoke-test-multinode Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-plugins Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-rank-eval-with-mustache [Test] Lower bwc version for rank-eval rest tests 2018-01-22 13:33:42 +01:00
smoke-test-reindex-with-all-modules Automatically prepare indices for splitting (#27451) 2017-11-23 09:48:54 +01:00
vagrant Create keystore on package install (#28928) 2018-03-12 12:48:00 -04:00
verify-version-constants Test: Remove specifying zip distribution in qa tests (#28805) 2018-02-23 13:45:38 -08:00
wildfly Move more XContent.createParser calls to non-deprecated version (#28670) 2018-02-14 09:01:40 -07:00
build.gradle Build: Automatically add projects under libs, qa, modules and plugins (#28279) 2018-01-17 19:54:43 -08:00