elasticsearch/client/rest-high-level
Ryan Ernst 09c88797d2
Upgrade mockito to 3.12.4 (#79669) (#79686)
Securemock is a wrapper around Mockito that monkey patches internals of
Mockito to work with the SecurityManager. However, the library has not
been updated in several years due to the complicated nature of this
monkey patching. This has left us with an ancient version of Mockito,
missing out on updates to the library in the last half decade.

While Securemock currently works with Mockito 1.x, in 2.x an official
means of plugging into mockito was added, MockMaker. This commit removes
securemock as a dependnecy of the test framework, replacing it with a
modern version of Mockito, and implementing a MockMaker that integrates
with SecurityManager.

Note that while there is a newer version of Mockito available, 4.0, it
has several deprecations removed that are used throughout Elasticsearch.
Those can be addressed in followups, and then a subsequent upgrade to
4.0 should be possible.

relates #79567
closes #40334
2021-10-24 10:46:03 -07:00
..
qa/ssl-enabled [7.x] Fix system property resolution at configuration time (#78682) 2021-10-05 07:33:13 -04:00
src Upgrade mockito to 3.12.4 (#79669) (#79686) 2021-10-24 10:46:03 -07:00
build.gradle Simplify build plugin license handling (#77009) (#78820) 2021-10-07 14:39:18 +02:00
roles.yml Fix security origin for TokenService#findActiveTokensFor... (#47418) (#48280) 2019-10-21 13:15:05 +03:00
testnode.crt HLRC: Get SSL Certificates API (#34135) 2018-10-15 17:20:34 +01:00
testnode.jks HLRC: Get SSL Certificates API (#34135) 2018-10-15 17:20:34 +01:00