[TEST] add comment on using animal-sniffer suppress annotation
This commit is contained in:
parent
50b6f4c02f
commit
3cd201e67e
|
@ -56,6 +56,7 @@ import java.util.Set;
|
|||
import static org.hamcrest.CoreMatchers.containsString;
|
||||
import static org.hamcrest.CoreMatchers.equalTo;
|
||||
|
||||
//animal-sniffer doesn't like our usage of com.sun.net.httpserver.* classes
|
||||
@IgnoreJRERequirement
|
||||
public class HostsSnifferTests extends LuceneTestCase {
|
||||
|
||||
|
@ -118,6 +119,7 @@ public class HostsSnifferTests extends LuceneTestCase {
|
|||
return httpServer;
|
||||
}
|
||||
|
||||
//animal-sniffer doesn't like our usage of com.sun.net.httpserver.* classes
|
||||
@IgnoreJRERequirement
|
||||
private static class ResponseHandler implements HttpHandler {
|
||||
private final int sniffTimeoutMillis;
|
||||
|
|
|
@ -58,6 +58,7 @@ import static org.hamcrest.CoreMatchers.equalTo;
|
|||
* Integration test to check interaction between {@link RestClient} and {@link org.apache.http.client.HttpClient}.
|
||||
* Works against a real http server, one single host.
|
||||
*/
|
||||
//animal-sniffer doesn't like our usage of com.sun.net.httpserver.* classes
|
||||
@IgnoreJRERequirement
|
||||
public class RestClientIntegTests extends LuceneTestCase {
|
||||
|
||||
|
@ -88,6 +89,7 @@ public class RestClientIntegTests extends LuceneTestCase {
|
|||
httpServer.createContext("/" + statusCode, new ResponseHandler(statusCode));
|
||||
}
|
||||
|
||||
//animal-sniffer doesn't like our usage of com.sun.net.httpserver.* classes
|
||||
@IgnoreJRERequirement
|
||||
private static class ResponseHandler implements HttpHandler {
|
||||
private final int statusCode;
|
||||
|
|
Loading…
Reference in New Issue