testInetAddress() tags: [] uniqueId: [engine:junit-jupiter]/[class:com.fasterxml.jackson.databind.deser.jdk.JDKStringLikeTypeDeserTest]/[method:testInetAddress()] parent: [engine:junit-jupiter]/[class:com.fasterxml.jackson.databind.deser.jdk.JDKStringLikeTypeDeserTest] source: MethodSource [className = 'com.fasterxml.jackson.databind.deser.jdk.JDKStringLikeTypeDeserTest', methodName = 'testInetAddress', methodParameterTypes = ''] caught: com.fasterxml.jackson.databind.JsonMappingException: Unexpected IOException (of type java.net.UnknownHostException): google.com: Temporary failure in name resolution at com.fasterxml.jackson.databind.JsonMappingException.fromUnexpectedIOE(JsonMappingException.java:344) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3958) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3922) at com.fasterxml.jackson.databind.deser.jdk.JDKStringLikeTypeDeserTest.testInetAddress(JDKStringLikeTypeDeserTest.java:178) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) duration: 13 ms status: ✘ FAILED diff --git a/src/test/java/com/fasterxml/jackson/databind/deser/jdk/JDKStringLikeTypeDeserTest.java b/src/test/java/com/fasterxml/jackson/databind/deser/jdk/JDKStringLikeTypeDeserTest.java index 8fe9ca9..56ac9a9 100644 --- a/src/test/java/com/fasterxml/jackson/databind/deser/jdk/JDKStringLikeTypeDeserTest.java +++ b/src/test/java/com/fasterxml/jackson/databind/deser/jdk/JDKStringLikeTypeDeserTest.java @@ -10,6 +10,7 @@ import java.util.UUID; import java.util.regex.Pattern; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Disabled; import com.fasterxml.jackson.annotation.*; @@ -167,7 +168,7 @@ public class JDKStringLikeTypeDeserTest assertEquals("abc", cs.toString()); } - @Test + @Test @Disabled public void testInetAddress() throws IOException { InetAddress address = MAPPER.readValue(q("127.0.0.1"), InetAddress.class);