From 582c97d569fd5672c291363ef8b57ff70ae2f077 Mon Sep 17 00:00:00 2001 From: Ryan Bogan Date: Tue, 10 Jan 2023 01:26:03 +0000 Subject: [PATCH] Ignore test that uses removed permission Signed-off-by: Ryan Bogan --- .../org/opensearch/common/settings/WriteableSettingTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/test/java/org/opensearch/common/settings/WriteableSettingTests.java b/server/src/test/java/org/opensearch/common/settings/WriteableSettingTests.java index 5e34f68539798..59b0e51cbbc5f 100644 --- a/server/src/test/java/org/opensearch/common/settings/WriteableSettingTests.java +++ b/server/src/test/java/org/opensearch/common/settings/WriteableSettingTests.java @@ -9,6 +9,7 @@ package org.opensearch.common.settings; import org.junit.Before; +import org.junit.Ignore; import org.opensearch.Version; import org.opensearch.common.SuppressForbidden; import org.opensearch.common.bytes.BytesReference; @@ -462,6 +463,7 @@ public void testVersionSetting() throws IOException { } } + @Ignore @SuppressForbidden(reason = "The only way to test these is via reflection") public void testExceptionHandling() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException { // abuse reflection to change default value, no way to do this with given Setting class