From 88bc268e29f8153ae89bea97433ee0ea9917715b Mon Sep 17 00:00:00 2001 From: Nick Knize Date: Sat, 23 Apr 2022 16:50:55 -0500 Subject: [PATCH] [Rename] ESTestCase stragglers to OpenSearchTestCase (#3053) A few places still referenced legacy ESTestCase name. This refactors those instances to OpenSearchTestCase. Signed-off-by: Nicholas Walter Knize --- .../src/main/resources/forbidden/opensearch-test-signatures.txt | 2 +- .../src/main/resources/org/opensearch/bootstrap/security.policy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/resources/forbidden/opensearch-test-signatures.txt b/buildSrc/src/main/resources/forbidden/opensearch-test-signatures.txt index aeb5e25decf..03dead38bd8 100644 --- a/buildSrc/src/main/resources/forbidden/opensearch-test-signatures.txt +++ b/buildSrc/src/main/resources/forbidden/opensearch-test-signatures.txt @@ -26,4 +26,4 @@ com.carrotsearch.randomizedtesting.annotations.Nightly @ We don't run nightly te org.junit.Test @defaultMessage Just name your test method testFooBar -java.lang.Math#random() @ Use one of the various randomization methods from LuceneTestCase or ESTestCase for reproducibility +java.lang.Math#random() @ Use one of the various randomization methods from LuceneTestCase or OpenSearchTestCase for reproducibility diff --git a/server/src/main/resources/org/opensearch/bootstrap/security.policy b/server/src/main/resources/org/opensearch/bootstrap/security.policy index 97b73aedf24..05d648212bc 100644 --- a/server/src/main/resources/org/opensearch/bootstrap/security.policy +++ b/server/src/main/resources/org/opensearch/bootstrap/security.policy @@ -116,7 +116,7 @@ grant { permission java.util.PropertyPermission "solr.data.dir", "write"; permission java.util.PropertyPermission "solr.directoryFactory", "write"; - // set by ESTestCase to improve test reproducibility + // set by OpenSearchTestCase to improve test reproducibility // TODO: set this with gradle or some other way that repros with seed? permission java.util.PropertyPermission "processors.override", "write";