OpenSearch/plugin
jaymode 13d08f9c42 Test: don't reset node in ClusterPrivilegeTests
In the ClusterPrivilegeTests class, the code was resetting the node
after each test and failures were seen in CI that were HTTP 401 when
a 403 was expected. This commit removes the resetting of the node
between tests as this was not necessary.

Additionally, there is an issue in the SecuritySingleNodeTestCase where
the rest client was not torn down afterstopping a node and starting a
new node. This means the client used in other tests would not be
connected to the right cluster. This change resolves this by tearing
down the rest client after the old node is torn down.

relates elastic/x-pack-elasticsearch#4383

Original commit: elastic/x-pack-elasticsearch@2f81a4b2e2
2018-04-16 10:31:13 -06:00
..
bwc Lazy configure build tasks that require older JDKs (elastic/x-pack-elasticsearch#4376) 2018-04-14 15:45:01 -04:00
core [ML] Respect max_result_window setting in result APIs (elastic/x-pack-elasticsearch#4380) 2018-04-16 13:12:24 +01:00
deprecation Add migration check for deprecated `delimited_payload_filter` (elastic/x-pack-elasticsearch#4310) 2018-04-06 13:41:00 +02:00
graph [TEST] Add deterministic routing of docs to shards to prevent 2018-02-19 15:46:51 +00:00
logstash [Logstash][Monitoring] Fix Registered Usage and Add Tests (elastic/x-pack-elasticsearch#4075) 2018-03-08 14:53:05 -08:00
ml [ML] Improve comment on why task is marked completed on kill process 2018-04-10 13:36:13 +01:00
monitoring Adjust to decoupling TimeValue from Writeable (elastic/x-pack-elasticsearch#4338) 2018-04-11 14:58:19 -06:00
rollup [Rollup] Rename job config `size` to `page_size` (elastic/x-pack-elasticsearch#4309) 2018-04-10 13:34:40 -07:00
security Test: don't reset node in ClusterPrivilegeTests 2018-04-16 10:31:13 -06:00
sql SQL: fix bug in mutate method 2018-04-13 19:11:18 +03:00
src/test Stop filtering on `_type`. 2018-04-12 14:18:18 +02:00
upgrade Disable security for trial licenses by default (elastic/x-pack-elasticsearch#4120) 2018-03-21 21:09:44 -06:00
watcher Adjust to decoupling TimeValue from Writeable (elastic/x-pack-elasticsearch#4338) 2018-04-11 14:58:19 -06:00
build.gradle Disable security for trial licenses by default (elastic/x-pack-elasticsearch#4120) 2018-03-21 21:09:44 -06:00