Skip to content

Commit dbf0425

Browse files
author
Rajat Gupta
committed
Add SuppressForbidden annotation
Signed-off-by: Rajat Gupta <[email protected]>
1 parent ffa2701 commit dbf0425

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/agent-sm/agent/src/test/java/org/opensearch/javaagent/SocketChannelInterceptorAllowTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
import static org.junit.Assert.fail;
2222

23+
@SuppressForbidden(reason = "Test class needs to use socket connections and DNS resolution for testing network permissions")
2324
public class SocketChannelInterceptorAllowTests extends OpenSearchTestCase {
2425

2526
private SocketChannelInterceptor interceptor;

0 commit comments

Comments
 (0)