Skip to content

Commit

Permalink
Ignore test that uses removed permission
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
  • Loading branch information
ryanbogan committed Jan 10, 2023
1 parent 9eb43fa commit 582c97d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 582c97d

Please sign in to comment.