Skip to content

Commit

Permalink
Revert "PluginsServiceTests is passing (#3)"
Browse files Browse the repository at this point in the history
This reverts commit e7af399.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
  • Loading branch information
nknize committed Mar 15, 2022
1 parent d35292a commit f080199
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ public void testJarHellTransitiveMap() throws Exception {
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 {
// 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
Expand Down Expand Up @@ -790,6 +791,7 @@ public FakePlugin() {

}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/2063")
public void testExistingMandatoryInstalledPlugin() throws IOException {
// 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
Expand Down Expand Up @@ -823,6 +825,7 @@ public void testExistingMandatoryInstalledPlugin() throws IOException {
newPluginsService(settings);
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/2063")
public void testPluginFromParentClassLoader() throws IOException {
final Path pathHome = createTempDir();
final Path plugins = pathHome.resolve("plugins");
Expand Down Expand Up @@ -860,6 +863,7 @@ public void testPluginFromParentClassLoader() throws IOException {
);
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/2063")
public void testPluginLoadFailure() throws IOException {
final Path pathHome = createTempDir();
final Path plugins = pathHome.resolve("plugins");
Expand Down

0 comments on commit f080199

Please sign in to comment.