Jens Petersen
|
a70c8f4c2b
|
testsuite uses network (httpbin.org) extensively
Failures:
httpbin-tests/Network/HTTP/ReqSpec.hs:38:7:
1) Network.HTTP.Req, exception throwing on non-2xx status codes, throws indeed for non-2xx
predicate failed on expected exception: HttpException (VanillaHttpException (HttpExceptionRequest Request {
host = "httpbin.org"
port = 443
secure = True
requestHeaders = []
path = "/foo"
queryString = ""
method = "GET"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
}
(ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = <assumed to be undefined>, addrCanonName = <assumed to be undefined>}, host name: Just "httpbin.org", service name: Just "443"): does not exist (Temporary failure in name resolution))))
To rerun use: --match "/Network.HTTP.Req/exception throwing on non-2xx status codes/throws indeed for non-2xx/"
httpbin-tests/Network/HTTP/ReqSpec.hs:45:11:
2) Network.HTTP.Req, exception throwing on non-2xx status codes (Req monad), throws indeed for non-2xx
predicate failed on expected exception: HttpException (VanillaHttpException (HttpExceptionRequest Request {
host = "httpbin.org"
port = 443
secure = True
requestHeaders = []
path = "/foo"
queryString = ""
method = "GET"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
}
(ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = <assumed to be undefined>, addrCanonName = <assumed to be undefined>}, host name: Just "httpbin.org", service name: Just "443"): does not exist (Temporary failure in name resolution))))
To rerun use: --match "/Network.HTTP.Req/exception throwing on non-2xx status codes (Req monad)/throws indeed for non-2xx/"
httpbin-tests/Network/HTTP/ReqSpec.hs:55:5:
3) Network.HTTP.Req, receiving user-agent header back, works
uncaught exception: HttpException
:
:
|
2021-08-08 21:14:30 +08:00 |