Fixing PluginsServiceTests (post Lucene 9 update) (#2484)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
This commit is contained in:
Andriy Redko 2022-03-16 11:17:33 -04:00 committed by GitHub
parent 10b9986e12
commit 77d106015f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -648,7 +648,6 @@ public class PluginsServiceTests extends OpenSearchTestCase {
assertThat(deps, containsInAnyOrder(pluginJar.toUri().toURL(), dep1Jar.toUri().toURL(), dep2Jar.toUri().toURL())); assertThat(deps, containsInAnyOrder(pluginJar.toUri().toURL(), dep1Jar.toUri().toURL(), dep2Jar.toUri().toURL()));
} }
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/2063")
public void testNonExtensibleDep() throws Exception { public void testNonExtensibleDep() throws Exception {
// This test opens a child classloader, reading a jar under the test temp // This test opens a child classloader, reading a jar under the test temp
// dir (a dummy plugin). Classloaders are closed by GC, so when test teardown // dir (a dummy plugin). Classloaders are closed by GC, so when test teardown
@ -791,7 +790,6 @@ public class PluginsServiceTests extends OpenSearchTestCase {
} }
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/2063")
public void testExistingMandatoryInstalledPlugin() throws IOException { public void testExistingMandatoryInstalledPlugin() throws IOException {
// This test opens a child classloader, reading a jar under the test temp // This test opens a child classloader, reading a jar under the test temp
// dir (a dummy plugin). Classloaders are closed by GC, so when test teardown // dir (a dummy plugin). Classloaders are closed by GC, so when test teardown
@ -825,7 +823,6 @@ public class PluginsServiceTests extends OpenSearchTestCase {
newPluginsService(settings); newPluginsService(settings);
} }
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/2063")
public void testPluginFromParentClassLoader() throws IOException { public void testPluginFromParentClassLoader() throws IOException {
final Path pathHome = createTempDir(); final Path pathHome = createTempDir();
final Path plugins = pathHome.resolve("plugins"); final Path plugins = pathHome.resolve("plugins");
@ -863,7 +860,6 @@ public class PluginsServiceTests extends OpenSearchTestCase {
); );
} }
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/2063")
public void testPluginLoadFailure() throws IOException { public void testPluginLoadFailure() throws IOException {
final Path pathHome = createTempDir(); final Path pathHome = createTempDir();
final Path plugins = pathHome.resolve("plugins"); final Path plugins = pathHome.resolve("plugins");