Created
June 15, 2016 15:17
-
-
Save bramswenson/8e9c440a343720779aac1dae6e45138a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) TCPSocket fails when connection is refused | |
Failure/Error: expect_raises(Errno, "Error connecting to 'localhost:#{port}': Connection refused") do | |
expected Errno with "Error connecting to 'localhost:40793': Connection refused", got #<Errno: Error connecting to 'localhost:40793': Network is unreachable> with backtrace: | |
# [11810935] *CallStack::unwind:Array(Pointer(Void)) +87 | |
# [11810826] *CallStack#initialize<CallStack>:Array(Pointer(Void)) +10 | |
# [11810778] *CallStack::new:CallStack +42 | |
# [8993288] *raise<Exception+>:NoReturn +24 | |
# [14375485] *TCPSocket#initialize<TCPSocket, String, (Int32 | UInt16), Nil, Nil>:Nil +1213 | |
# [14374252] *TCPSocket#initialize<TCPSocket, String, (Int32 | UInt16)>:Nil +60 | |
# [14374158] *TCPSocket::new<String, (Int32 | UInt16)>:TCPSocket +206 | |
# [10329969] ~proc( -> Nil) +321 | |
# [8989747] *it<String, String, Int32, &( -> Nil)>:Array(Spec::Result)? +419 | |
# [10324422] ~proc( -> Nil) +134 | |
# [12538315] *Spec::RootContext::describe<String, String, Int32, &( -> Nil)>:Spec::Context+ +395 | |
# [10324279] *describe<TCPSocket:Class, String, Int32, &( -> Nil)>:Spec::Context+ +55 | |
# [8888862] ??? | |
# [8972729] main +41 | |
# [139977954854721] __libc_start_main +241 | |
# [8879097] _start +41 | |
# [0] ??? | |
# ./spec/std/socket_spec.cr:278 | |
2) TCPSocket sends and receives messages | |
Error connecting to ':::38691': Network is unreachable | |
[11810935] *CallStack::unwind:Array(Pointer(Void)) +87 | |
[11810826] *CallStack#initialize<CallStack>:Array(Pointer(Void)) +10 | |
[11810778] *CallStack::new:CallStack +42 | |
[8993288] *raise<Exception+>:NoReturn +24 | |
[14360021] *TCPSocket#initialize<TCPSocket, String, UInt16, Nil, Nil>:Nil +1077 | |
[14358939] *TCPSocket#initialize<TCPSocket, String, UInt16>:Nil +43 | |
[14358865] *TCPSocket::new<String, UInt16>:TCPSocket +193 | |
[10326830] ~proc( -> Nil) +2334 | |
[8989747] *it<String, String, Int32, &( -> Nil)>:Array(Spec::Result)? +419 | |
[10324364] ~proc( -> Nil) +76 | |
[12538315] *Spec::RootContext::describe<String, String, Int32, &( -> Nil)>:Spec::Context+ +395 | |
[10324279] *describe<TCPSocket:Class, String, Int32, &( -> Nil)>:Spec::Context+ +55 | |
[8888862] ??? | |
[8972729] main +41 | |
[139977954854721] __libc_start_main +241 | |
[8879097] _start +41 | |
[0] ??? | |
3) UDPSocket sends and receives messages by reading and writing | |
Error connecting to '::1:32874': Network is unreachable | |
[11810935] *CallStack::unwind:Array(Pointer(Void)) +87 | |
[11810826] *CallStack#initialize<CallStack>:Array(Pointer(Void)) +10 | |
[11810778] *CallStack::new:CallStack +42 | |
[8993288] *raise<Exception+>:NoReturn +24 | |
[14328857] *UDPSocket#connect<UDPSocket, String, UInt16, Nil, Nil>:Nil +985 | |
[14327867] *UDPSocket#connect<UDPSocket, String, UInt16>:Nil +43 | |
[10334365] ~proc( -> Nil) +477 | |
[8989747] *it<String, String, Int32, &( -> Nil)>:Array(Spec::Result)? +419 | |
[10333692] ~proc( -> Nil) +76 | |
[12538315] *Spec::RootContext::describe<String, String, Int32, &( -> Nil)>:Spec::Context+ +395 | |
[10333607] *describe<UDPSocket:Class, String, Int32, &( -> Nil)>:Spec::Context+ +55 | |
[8888936] ??? | |
[8972729] main +41 | |
[139977954854721] __libc_start_main +241 | |
[8879097] _start +41 | |
[0] ??? | |
4) UDPSocket sends and receives messages by send and receive over IPv6 | |
Error binding UDP socket at ::1:46951: Cannot assign requested address | |
[11810935] *CallStack::unwind:Array(Pointer(Void)) +87 | |
[11810826] *CallStack#initialize<CallStack>:Array(Pointer(Void)) +10 | |
[11810778] *CallStack::new:CallStack +42 | |
[8943560] *raise<Errno>:NoReturn +24 | |
[14327757] *UDPSocket#bind<UDPSocket, String, UInt16, Nil>:Nil +1101 | |
[14326637] *UDPSocket#bind<UDPSocket, String, UInt16>:Nil +45 | |
[10337877] ~proc( -> Nil) +101 | |
[8989747] *it<String, String, Int32, &( -> Nil)>:Array(Spec::Result)? +419 | |
[10333808] ~proc( -> Nil) +192 | |
[12538315] *Spec::RootContext::describe<String, String, Int32, &( -> Nil)>:Spec::Context+ +395 | |
[10333607] *describe<UDPSocket:Class, String, Int32, &( -> Nil)>:Spec::Context+ +55 | |
[8888936] ??? | |
[8972729] main +41 | |
[139977954854721] __libc_start_main +241 | |
[8879097] _start +41 | |
[0] ??? | |
Finished in 3.27 seconds | |
4145 examples, 1 failures, 3 errors, 2 pending |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment