Skip to content

Instantly share code, notes, and snippets.

@ricardopereira
Created November 23, 2016 13:27
Show Gist options
  • Save ricardopereira/15a80610b22c9216d5587f2375359921 to your computer and use it in GitHub Desktop.
Save ricardopereira/15a80610b22c9216d5587f2375359921 to your computer and use it in GitHub Desktop.
Test Suite 'All tests' started at 2016-11-23 13:16:03.092
Test Suite 'Quick.framework' started at 2016-11-23 13:16:03.093
Test Suite 'Quick.framework' passed at 2016-11-23 13:16:03.093.
Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds
Test Suite 'AblySpec.xctest' started at 2016-11-23 13:16:03.094
Test Suite 'RealtimeClientConnection' started at 2016-11-23 13:16:03.095
Test Case '-[AblySpec.RealtimeClientConnection Connection__connection_failures_once_CONNECTED__System_s_response_to_a_resume_request__should_resume_the_connection_after_an_auth_renewal_and_detach_all_channels_if_the_connectionId_changes]' started.
2016-11-23 13:16:04.097 xctest[32837:4092858] DEBUG: (ARTRest.m:57) RS:0x7f955c623000 0x7f955c617b50 alloc HTTP
2016-11-23 13:16:04.098 xctest[32837:4092858] DEBUG: (ARTAuth.m:78) RS:0x7f955c623000 validating ARTClientOptions: key=_tmp_U7qorQ.Jl-lRg:3XINc2IggVonxFd9 token=_tmp_U7qorQ.DpFF_XDx2ZDmtlrAdFrPgOvnn-9k3W10UiJam2XZytbRKSVDhdCs4YT5EnNkEZz0pykArPnjAfXf0EYxG51dv8SxY7fgVlbJc6Li4en_ntZiYgU67eY_PvUtRPiv-l1h_ authUrl=(null) authMethod=GET hasAuthCallback=0
2016-11-23 13:16:04.098 xctest[32837:4092858] DEBUG: (ARTAuth.m:88) RS:0x7f955c623000 setting up auth method Token with token details
2016-11-23 13:16:04.098 xctest[32837:4092858] DEBUG: (ARTRest.m:73) RS:0x7f955c623000 initialized
2016-11-23 13:16:04.098 xctest[32837:4092858] DEBUG: (ARTRealtime.m:84) R:0x7f955c623320 initialized with RS:0x7f955c623000
2016-11-23 13:16:04.099 xctest[32837:4092858] DEBUG: (ARTRealtime.m:211) R:0x7f955c623320 transition to Connecting requested
2016-11-23 13:16:04.099 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:56) R:0x0 WS:0x7f955c6267f0 alloc
2016-11-23 13:16:04.100 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:91) R:0x7f955c623320 WS:0x7f955c6267f0 websocket connect
2016-11-23 13:16:04.100 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:106) R:0x7f955c623320 WS:0x7f955c6267f0 connecting with token auth; authorising
2016-11-23 13:16:04.100 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTAuth: reuse current token.
2016-11-23 13:16:04.100 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:110) R:0x7f955c623320 WS:0x7f955c6267f0 authorised: ARTTokenDetails: token=_tmp_U7qorQ.DpFF_XDx2ZDmtlrAdFrPgOvnn-9k3W10UiJam2XZytbRKSVDhdCs4YT5EnNkEZz0pykArPnjAfXf0EYxG51dv8SxY7fgVlbJc6Li4en_ntZiYgU67eY_PvUtRPiv-l1h_ clientId=(null) issued=(null) expires=(null) error: (null)
2016-11-23 13:16:04.101 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:187) R:0x7f955c623320 WS:0x7f955c6267f0 url /?accessToken=_tmp_U7qorQ.DpFF_XDx2ZDmtlrAdFrPgOvnn-9k3W10UiJam2XZytbRKSVDhdCs4YT5EnNkEZz0pykArPnjAfXf0EYxG51dv8SxY7fgVlbJc6Li4en_ntZiYgU67eY_PvUtRPiv-l1h_&echo=true&format=msgpack&v=0.8&lib=ios-0.8.7 -- wss://sandbox-realtime.ably.io:443
2016-11-23 13:16:04.102 xctest[32837:4092858] VERBOSE: R:0x7f955c623320 WS:0x7f955c6267f0 connecting to /?accessToken=_tmp_U7qorQ.DpFF_XDx2ZDmtlrAdFrPgOvnn-9k3W10UiJam2XZytbRKSVDhdCs4YT5EnNkEZz0pykArPnjAfXf0EYxG51dv8SxY7fgVlbJc6Li4en_ntZiYgU67eY_PvUtRPiv-l1h_&echo=true&format=msgpack&v=0.8&lib=ios-0.8.7 -- wss://sandbox-realtime.ably.io:443
2016-11-23 13:16:04.103 xctest[32837:4092858] DEBUG: (ARTRestChannel.m:35) RS:0x7f955e851f00 instantiating under 'test-8-test'
2016-11-23 13:16:04.502 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:241) R:0x7f955c623320 WS:0x7f955c6267f0 websocket did open
2016-11-23 13:16:04.506 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:363) R:0x7f955c623320 WS:0x7f955c6267f0 websocket did receive data <85a66163 74696f6e 04ac636f 6e6e6563 74696f6e 4964aa74 43777261 776b5a47 43ad636f 6e6e6563 74696f6e 4b6579d9 31653931 52544f57 6c774130 76497121 74437772 61776b5a 47435453 31313854 2d636136 65393152 544f576c 77413076 4971b063 6f6e6e65 6374696f 6e536572 69616cff b1636f6e 6e656374 696f6e44 65746169 6c7387ad 636f6e6e 65637469 6f6e4b65 79d93165 39315254 4f576c77 41307649 71217443 77726177 6b5a4743 54533131 38542d63 61366539 3152544f 576c7741 30764971 ae6d6178 4d657373 61676553 697a65cd 4000ae6d 6178496e 626f756e 64526174 65ccfaac 6d617846 72616d65 53697a65 ce000400 00a87365 72766572 4964d929 66726f6e 74656e64 2e363464 322e312e 65752d63 656e7472 616c2d31 2d412e69 2d643335 66383136 65b2636f 6e6e6563 74696f6e 53746174 6554746c ce0001d4 c0af6d61 7849646c 65496e74 65727661 6ccd3a98>
2016-11-23 13:16:04.507 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> decoding '<85a66163 74696f6e 04ac636f 6e6e6563 74696f6e 4964aa74 43777261 776b5a47 43ad636f 6e6e6563 74696f6e 4b6579d9 31653931 52544f57 6c774130 76497121 74437772 61776b5a 47435453 31313854 2d636136 65393152 544f576c 77413076 4971b063 6f6e6e65 6374696f 6e536572 69616cff b1636f6e 6e656374 696f6e44 65746169 6c7387ad 636f6e6e 65637469 6f6e4b65 79d93165 39315254 4f576c77 41307649 71217443 77726177 6b5a4743 54533131 38542d63 61366539 3152544f 576c7741 30764971 ae6d6178 4d657373 61676553 697a65cd 4000ae6d 6178496e 626f756e 64526174 65ccfaac 6d617846 72616d65 53697a65 ce000400 00a87365 72766572 4964d929 66726f6e 74656e64 2e363464 322e312e 65752d63 656e7472 616c2d31 2d412e69 2d643335 66383136 65b2636f 6e6e6563 74696f6e 53746174 6554746c ce0001d4 c0af6d61 7849646c 65496e74 65727661 6ccd3a98>'; got: {
action = 4;
connectionDetails = {
connectionKey = "e91RTOWlwA0vIq!tCwrawkZGCTS118T-ca6e91RTOWlwA0vIq";
connectionStateTtl = 120000;
maxFrameSize = 262144;
maxIdleInterval = 15000;
maxInboundRate = 250;
maxMessageSize = 16384;
serverId = "frontend.64d2.1.eu-central-1-A.i-d35f816e";
};
connectionId = tCwrawkZGC;
connectionKey = "e91RTOWlwA0vIq!tCwrawkZGCTS118T-ca6e91RTOWlwA0vIq";
connectionSerial = "-1";
}
2016-11-23 13:16:04.508 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
action = 4;
connectionDetails = {
connectionKey = "e91RTOWlwA0vIq!tCwrawkZGCTS118T-ca6e91RTOWlwA0vIq";
connectionStateTtl = 120000;
maxFrameSize = 262144;
maxIdleInterval = 15000;
maxInboundRate = 250;
maxMessageSize = 16384;
serverId = "frontend.64d2.1.eu-central-1-A.i-d35f816e";
};
connectionId = tCwrawkZGC;
connectionKey = "e91RTOWlwA0vIq!tCwrawkZGCTS118T-ca6e91RTOWlwA0vIq";
connectionSerial = "-1";
}
2016-11-23 13:16:04.509 xctest[32837:4092858] VERBOSE: R:0x7f955c623320 ARTRealtime didReceive Protocol Message Connected
2016-11-23 13:16:04.509 xctest[32837:4092858] DEBUG: (ARTRealtime.m:211) R:0x7f955c623320 transition to Connected requested
2016-11-23 13:16:04.509 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:68) R:0x7f955c623320 WS:0x7f955c6267f0 sending action 10 with (null)
2016-11-23 13:16:04.509 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: protocolMessageToDictionary {
action = 10;
channel = "test-8-test";
msgSerial = 0;
}
2016-11-23 13:16:04.510 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> encoding '{
action = 10;
channel = "test-8-test";
msgSerial = 0;
}'; got: <83a76368 616e6e65 6cab7465 73742d38 2d746573 74a66163 74696f6e 0aa96d73 67536572 69616c00>
2016-11-23 13:16:04.897 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:363) R:0x7f955c623320 WS:0x7f955c6267f0 websocket did receive data <83a66163 74696f6e 0ba76368 616e6e65 6cab7465 73742d38 2d746573 74ad6368 616e6e65 6c536572 69616cb9 65393154 45564c4b 67413076 49613935 33323538 30323a2d 31>
2016-11-23 13:16:04.898 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> decoding '<83a66163 74696f6e 0ba76368 616e6e65 6cab7465 73742d38 2d746573 74ad6368 616e6e65 6c536572 69616cb9 65393154 45564c4b 67413076 49613935 33323538 30323a2d 31>'; got: {
action = 11;
channel = "test-8-test";
channelSerial = "e91TEVLKgA0vIa95325802:-1";
}
2016-11-23 13:16:04.898 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
action = 11;
channel = "test-8-test";
channelSerial = "e91TEVLKgA0vIa95325802:-1";
}
2016-11-23 13:16:04.899 xctest[32837:4092858] VERBOSE: R:0x7f955c623320 ARTRealtime didReceive Protocol Message Attached
2016-11-23 13:16:05.996 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:363) R:0x7f955c623320 WS:0x7f955c6267f0 websocket did receive data <82a66163 74696f6e 06a56572 726f7283 a76d6573 73616765 d9214b65 792f746f 6b656e20 73746174 75732063 68616e67 65642028 65787069 726529a4 636f6465 cd9cceaa 73746174 7573436f 6465cd01 91>
2016-11-23 13:16:05.997 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> decoding '<82a66163 74696f6e 06a56572 726f7283 a76d6573 73616765 d9214b65 792f746f 6b656e20 73746174 75732063 68616e67 65642028 65787069 726529a4 636f6465 cd9cceaa 73746174 7573436f 6465cd01 91>'; got: {
action = 6;
error = {
code = 40142;
message = "Key/token status changed (expire)";
statusCode = 401;
};
}
2016-11-23 13:16:05.998 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
action = 6;
error = {
code = 40142;
message = "Key/token status changed (expire)";
statusCode = 401;
};
}
2016-11-23 13:16:05.999 xctest[32837:4092858] VERBOSE: R:0x7f955c623320 ARTRealtime didReceive Protocol Message Disconnected
2016-11-23 13:16:05.999 xctest[32837:4092858] VERBOSE: R:0x7f955c623320 ARTRealtime Protocol Message with error ARTErrorInfo with code 401, message: Key/token status changed (expire)
2016-11-23 13:16:05.999 xctest[32837:4092858] INFO: R:0x7f955c623320 ARTRealtime disconnected
2016-11-23 13:16:06.000 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:56) R:0x0 WS:0x7f955c7b4da0 alloc
2016-11-23 13:16:06.000 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:91) R:0x7f955c623320 WS:0x7f955c7b4da0 websocket connect
2016-11-23 13:16:06.000 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:106) R:0x7f955c623320 WS:0x7f955c7b4da0 connecting with token auth; authorising
2016-11-23 13:16:06.001 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTAuth: forced requesting new token.
2016-11-23 13:16:06.001 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: tokenRequestToDictionary ARTTokenRequest: keyName=_tmp_U7qorQ.Jl-lRg clientId=(null) nonce=2323276547528759 mac=x8HIl/k0aFhBgsN0xqvYtGccdyVtGwlPxCvJux1iOb8= ttl=3600.000000 capability={"*":["*"]} timestamp=2016-11-23 13:16:06 +0000
2016-11-23 13:16:06.002 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> encoding '{
capability = "{\"*\":[\"*\"]}";
keyName = "_tmp_U7qorQ.Jl-lRg";
mac = "x8HIl/k0aFhBgsN0xqvYtGccdyVtGwlPxCvJux1iOb8=";
nonce = 2323276547528759;
timestamp = 1479906966001;
ttl = 3600000;
}'; got: <86a76b65 794e616d 65b25f74 6d705f55 37716f72 512e4a6c 2d6c5267 a374746c ce0036ee 80aa6361 70616269 6c697479 ab7b222a 223a5b22 2a225d7d a974696d 65737461 6d70cf00 00015891 5439f1a5 6e6f6e63 65b03233 32333237 36353437 35323837 3539a36d 6163d92c 78384849 6c2f6b30 61466842 67734e30 78717659 74476363 64795674 47776c50 7843764a 75783169 4f62383d>
2016-11-23 13:16:06.002 xctest[32837:4092858] DEBUG: (ARTRest.m:139) RS:0x7f955c623000 executing request <NSMutableURLRequest: 0x7f955e8515c0> { URL: https://sandbox-rest.ably.io:443/keys/_tmp_U7qorQ.Jl-lRg/requestToken?format=msgpack }
2016-11-23 13:16:06.002 xctest[32837:4092858] DEBUG: POST https://sandbox-rest.ably.io:443/keys/_tmp_U7qorQ.Jl-lRg/requestToken?format=msgpack
2016-11-23 13:16:06.002 xctest[32837:4092858] VERBOSE: Headers {
Accept = "application/json,application/x-msgpack";
"Content-Type" = "application/x-msgpack";
"X-Ably-Lib" = "ios-0.8.7";
"X-Ably-Version" = "0.8";
}
2016-11-23 13:16:06.342 xctest[32837:4092858] DEBUG: POST https://sandbox-rest.ably.io:443/keys/_tmp_U7qorQ.Jl-lRg/requestToken?format=msgpack: statusCode 201
2016-11-23 13:16:06.343 xctest[32837:4092858] VERBOSE: Headers {
"Access-Control-Allow-Credentials" = true;
"Access-Control-Allow-Origin" = "*";
"Access-Control-Expose-Headers" = "Link,Transfer-Encoding,Content-Length,X-Ably-ErrorCode,X-Ably-ErrorMessage,X-Ably-ServerId,Server";
Connection = "keep-alive";
"Content-Length" = 233;
"Content-Type" = "application/x-msgpack";
Date = "Wed, 23 Nov 2016 13:16:06 GMT";
Vary = Origin;
"X-Ably-Serverid" = "frontend.25af.1.eu-central-1-A.i-305dca8c";
}
2016-11-23 13:16:06.343 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> decoding '<85a5746f 6b656ed9 8d5f746d 705f5537 716f7251 2e445f39 3443636a 4b38386a 657a5645 6f553350 42697357 566a664f 39623556 6f6e4345 4565576a 6d6b6359 6a63386b 35533771 30385a72 31516366 76614973 64565f42 46765f41 33763575 6b596849 4a645158 50357a51 4937704f 322d697a 496e4c5a 452d3068 316b6541 7a477365 79495771 3432686f 4a43784d 366f5856 676ca76b 65794e61 6d65b25f 746d705f 5537716f 72512e4a 6c2d6c52 67a66973 73756564 cf000001 5891543b 00a76578 70697265 73cf0000 0158918b 2980aa63 61706162 696c6974 79ab7b22 2a223a5b 222a225d 7d>'; got: {
capability = "{\"*\":[\"*\"]}";
expires = 1479910566272;
issued = 1479906966272;
keyName = "_tmp_U7qorQ.Jl-lRg";
token = "_tmp_U7qorQ.D_94CcjK88jezVEoU3PBisWVjfO9b5VonCEEeWjmkcYjc8k5S7q08Zr1QcfvaIsdV_BFv_A3v5ukYhIJdQXP5zQI7pO2-izInLZE-0h1keAzGseyIWq42hoJCxM6oXVgl";
}
2016-11-23 13:16:06.344 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: tokenFromDictionary {
capability = "{\"*\":[\"*\"]}";
expires = 1479910566272;
issued = 1479906966272;
keyName = "_tmp_U7qorQ.Jl-lRg";
token = "_tmp_U7qorQ.D_94CcjK88jezVEoU3PBisWVjfO9b5VonCEEeWjmkcYjc8k5S7q08Zr1QcfvaIsdV_BFv_A3v5ukYhIJdQXP5zQI7pO2-izInLZE-0h1keAzGseyIWq42hoJCxM6oXVgl";
}
2016-11-23 13:16:06.344 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTAuth: token request succeeded: ARTTokenDetails: token=_tmp_U7qorQ.D_94CcjK88jezVEoU3PBisWVjfO9b5VonCEEeWjmkcYjc8k5S7q08Zr1QcfvaIsdV_BFv_A3v5ukYhIJdQXP5zQI7pO2-izInLZE-0h1keAzGseyIWq42hoJCxM6oXVgl clientId=(null) issued=2016-11-23 13:16:06 +0000 expires=2016-11-23 14:16:06 +0000
2016-11-23 13:16:06.345 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:110) R:0x7f955c623320 WS:0x7f955c7b4da0 authorised: ARTTokenDetails: token=_tmp_U7qorQ.D_94CcjK88jezVEoU3PBisWVjfO9b5VonCEEeWjmkcYjc8k5S7q08Zr1QcfvaIsdV_BFv_A3v5ukYhIJdQXP5zQI7pO2-izInLZE-0h1keAzGseyIWq42hoJCxM6oXVgl clientId=(null) issued=2016-11-23 13:16:06 +0000 expires=2016-11-23 14:16:06 +0000 error: (null)
2016-11-23 13:16:06.346 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:187) R:0x7f955c623320 WS:0x7f955c7b4da0 url /?accessToken=_tmp_U7qorQ.D_94CcjK88jezVEoU3PBisWVjfO9b5VonCEEeWjmkcYjc8k5S7q08Zr1QcfvaIsdV_BFv_A3v5ukYhIJdQXP5zQI7pO2-izInLZE-0h1keAzGseyIWq42hoJCxM6oXVgl&echo=true&format=msgpack&v=0.8&lib=ios-0.8.7 -- wss://sandbox-realtime.ably.io:443
2016-11-23 13:16:06.346 xctest[32837:4092858] VERBOSE: R:0x7f955c623320 WS:0x7f955c7b4da0 connecting to /?accessToken=_tmp_U7qorQ.D_94CcjK88jezVEoU3PBisWVjfO9b5VonCEEeWjmkcYjc8k5S7q08Zr1QcfvaIsdV_BFv_A3v5ukYhIJdQXP5zQI7pO2-izInLZE-0h1keAzGseyIWq42hoJCxM6oXVgl&echo=true&format=msgpack&v=0.8&lib=ios-0.8.7 -- wss://sandbox-realtime.ably.io:443
2016-11-23 13:16:06.611 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:241) R:0x7f955c623320 WS:0x7f955c7b4da0 websocket did open
2016-11-23 13:16:06.612 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:363) R:0x7f955c623320 WS:0x7f955c7b4da0 websocket did receive data <85a66163 74696f6e 04ac636f 6e6e6563 74696f6e 4964aa67 754d4170 67353956 73ad636f 6e6e6563 74696f6e 4b6579d9 31653931 4e546761 49674130 76497121 67754d41 70673539 56737761 4b416334 2d643836 6539314e 54676149 67413076 4971b063 6f6e6e65 6374696f 6e536572 69616cff b1636f6e 6e656374 696f6e44 65746169 6c7387ad 636f6e6e 65637469 6f6e4b65 79d93165 39314e54 67614967 41307649 71216775 4d417067 35395673 77614b41 63342d64 38366539 314e5467 61496741 30764971 ae6d6178 4d657373 61676553 697a65cd 4000ae6d 6178496e 626f756e 64526174 65ccfaac 6d617846 72616d65 53697a65 ce000400 00a87365 72766572 4964d929 66726f6e 74656e64 2e323561 662e312e 65752d63 656e7472 616c2d31 2d412e69 2d333035 64636138 63b2636f 6e6e6563 74696f6e 53746174 6554746c ce0001d4 c0af6d61 7849646c 65496e74 65727661 6ccd3a98>
2016-11-23 13:16:06.613 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> decoding '<85a66163 74696f6e 04ac636f 6e6e6563 74696f6e 4964aa67 754d4170 67353956 73ad636f 6e6e6563 74696f6e 4b6579d9 31653931 4e546761 49674130 76497121 67754d41 70673539 56737761 4b416334 2d643836 6539314e 54676149 67413076 4971b063 6f6e6e65 6374696f 6e536572 69616cff b1636f6e 6e656374 696f6e44 65746169 6c7387ad 636f6e6e 65637469 6f6e4b65 79d93165 39314e54 67614967 41307649 71216775 4d417067 35395673 77614b41 63342d64 38366539 314e5467 61496741 30764971 ae6d6178 4d657373 61676553 697a65cd 4000ae6d 6178496e 626f756e 64526174 65ccfaac 6d617846 72616d65 53697a65 ce000400 00a87365 72766572 4964d929 66726f6e 74656e64 2e323561 662e312e 65752d63 656e7472 616c2d31 2d412e69 2d333035 64636138 63b2636f 6e6e6563 74696f6e 53746174 6554746c ce0001d4 c0af6d61 7849646c 65496e74 65727661 6ccd3a98>'; got: {
action = 4;
connectionDetails = {
connectionKey = "e91NTgaIgA0vIq!guMApg59VswaKAc4-d86e91NTgaIgA0vIq";
connectionStateTtl = 120000;
maxFrameSize = 262144;
maxIdleInterval = 15000;
maxInboundRate = 250;
maxMessageSize = 16384;
serverId = "frontend.25af.1.eu-central-1-A.i-305dca8c";
};
connectionId = guMApg59Vs;
connectionKey = "e91NTgaIgA0vIq!guMApg59VswaKAc4-d86e91NTgaIgA0vIq";
connectionSerial = "-1";
}
2016-11-23 13:16:06.614 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
action = 4;
connectionDetails = {
connectionKey = "e91NTgaIgA0vIq!guMApg59VswaKAc4-d86e91NTgaIgA0vIq";
connectionStateTtl = 120000;
maxFrameSize = 262144;
maxIdleInterval = 15000;
maxInboundRate = 250;
maxMessageSize = 16384;
serverId = "frontend.25af.1.eu-central-1-A.i-305dca8c";
};
connectionId = guMApg59Vs;
connectionKey = "e91NTgaIgA0vIq!guMApg59VswaKAc4-d86e91NTgaIgA0vIq";
connectionSerial = "-1";
}
2016-11-23 13:16:06.615 xctest[32837:4092858] VERBOSE: R:0x7f955c623320 ARTRealtime didReceive Protocol Message Connected
2016-11-23 13:16:06.615 xctest[32837:4092858] WARN: R:0x7f955c623320 ARTRealtime: connection has reconnected, but resume failed. Detaching all channels
2016-11-23 13:16:06.616 xctest[32837:4092858] DEBUG: (ARTRealtime.m:211) R:0x7f955c623320 transition to Connected requested
2016-11-23 13:16:06.618 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:68) R:0x7f955c623320 WS:0x7f955c7b4da0 sending action 10 with (null)
2016-11-23 13:16:06.618 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: protocolMessageToDictionary {
action = 10;
channel = "test-8-test";
msgSerial = 0;
}
2016-11-23 13:16:06.618 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> encoding '{
action = 10;
channel = "test-8-test";
msgSerial = 0;
}'; got: <83a76368 616e6e65 6cab7465 73742d38 2d746573 74a66163 74696f6e 0aa96d73 67536572 69616c00>
2016-11-23 13:16:06.683 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:363) R:0x7f955c623320 WS:0x7f955c7b4da0 websocket did receive data <83a66163 74696f6e 0ba76368 616e6e65 6cab7465 73742d38 2d746573 74ad6368 616e6e65 6c536572 69616cb9 65393154 45564c4b 67413076 49613935 33323538 30323a2d 31>
2016-11-23 13:16:06.683 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> decoding '<83a66163 74696f6e 0ba76368 616e6e65 6cab7465 73742d38 2d746573 74ad6368 616e6e65 6c536572 69616cb9 65393154 45564c4b 67413076 49613935 33323538 30323a2d 31>'; got: {
action = 11;
channel = "test-8-test";
channelSerial = "e91TEVLKgA0vIa95325802:-1";
}
2016-11-23 13:16:06.683 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
action = 11;
channel = "test-8-test";
channelSerial = "e91TEVLKgA0vIa95325802:-1";
}
2016-11-23 13:16:06.683 xctest[32837:4092858] VERBOSE: R:0x7f955c623320 ARTRealtime didReceive Protocol Message Attached
2016-11-23 13:16:06.852 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:363) R:0x7f955c623320 WS:0x7f955c7b4da0 websocket did receive data <88a66163 74696f6e 0fa26964 ac705152 56587746 62706f3a 30a5636f 756e740b a7636861 6e6e656c ab746573 742d382d 74657374 ad636861 6e6e656c 53657269 616cb865 39315445 564c4b67 41307649 61393533 32353830 323a30b0 636f6e6e 65637469 6f6e5365 7269616c 00a97469 6d657374 616d70cf 00000158 91543cfd a86d6573 73616765 739182a4 6e616d65 a3696f73 a4646174 61a86d65 73736167 6531>
2016-11-23 13:16:06.852 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> decoding '<88a66163 74696f6e 0fa26964 ac705152 56587746 62706f3a 30a5636f 756e740b a7636861 6e6e656c ab746573 742d382d 74657374 ad636861 6e6e656c 53657269 616cb865 39315445 564c4b67 41307649 61393533 32353830 323a30b0 636f6e6e 65637469 6f6e5365 7269616c 00a97469 6d657374 616d70cf 00000158 91543cfd a86d6573 73616765 739182a4 6e616d65 a3696f73 a4646174 61a86d65 73736167 6531>'; got: {
action = 15;
channel = "test-8-test";
channelSerial = "e91TEVLKgA0vIa95325802:0";
connectionSerial = 0;
count = 11;
id = "pQRVXwFbpo:0";
messages = (
{
data = message1;
name = ios;
}
);
timestamp = 1479906966781;
}
2016-11-23 13:16:06.853 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: protocolMessageFromDictionary {
action = 15;
channel = "test-8-test";
channelSerial = "e91TEVLKgA0vIa95325802:0";
connectionSerial = 0;
count = 11;
id = "pQRVXwFbpo:0";
messages = (
{
data = message1;
name = ios;
}
);
timestamp = 1479906966781;
}
2016-11-23 13:16:06.853 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: messageFromDictionary {
data = message1;
name = ios;
}
2016-11-23 13:16:06.854 xctest[32837:4092858] VERBOSE: R:0x7f955c623320 ARTRealtime didReceive Protocol Message Message
2016-11-23 13:16:06.855 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:62) R:0x7f955c623320 WS:0x7f955c6267f0 dealloc
2016-11-23 13:16:06.862 xctest[32837:4092858] DEBUG: (ARTRealtimeChannel.m:320) R:0x7f955c623320 C:0x7f955e852130 channel is being DETACHED
2016-11-23 13:16:06.863 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:68) R:0x7f955c623320 WS:0x7f955c7b4da0 sending action 12 with (null)
2016-11-23 13:16:06.863 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: protocolMessageToDictionary {
action = 12;
channel = "test-8-test";
msgSerial = 0;
}
2016-11-23 13:16:06.864 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> encoding '{
action = 12;
channel = "test-8-test";
msgSerial = 0;
}'; got: <83a76368 616e6e65 6cab7465 73742d38 2d746573 74a66163 74696f6e 0ca96d73 67536572 69616c00>
2016-11-23 13:16:06.864 xctest[32837:4092858] DEBUG: (ARTRealtime.m:211) R:0x7f955c623320 transition to Closing requested
2016-11-23 13:16:06.865 xctest[32837:4092858] DEBUG: (ARTWebSocketTransport.m:68) R:0x7f955c623320 WS:0x7f955c7b4da0 sending action 7 with (null)
2016-11-23 13:16:06.865 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack>: protocolMessageToDictionary {
action = 7;
msgSerial = 0;
}
2016-11-23 13:16:06.865 xctest[32837:4092858] VERBOSE: RS:0x7f955c623000 ARTJsonLikeEncoder<msgpack> encoding '{
action = 7;
msgSerial = 0;
}'; got: <82a66163 74696f6e 07a96d73 67536572 69616c00>
Test Case '-[AblySpec.RealtimeClientConnection Connection__connection_failures_once_CONNECTED__System_s_response_to_a_resume_request__should_resume_the_connection_after_an_auth_renewal_and_detach_all_channels_if_the_connectionId_changes]' passed (3.771 seconds).
Test session log:
/Users/ricardopereira/Library/Developer/Xcode/DerivedData/Ably-ctlkecuaicwkgscexhopiibucqom/Logs/Test/57B61BCF-FCC4-48CF-9961-733B94DABA78/Session-2016-11-23_13:15:44-MpT1LT.log
Test Suite 'RealtimeClientConnection' passed at 2016-11-23 13:16:06.869.
Executed 1 test, with 0 failures (0 unexpected) in 3.771 (3.774) seconds
Test Suite 'AblySpec.xctest' passed at 2016-11-23 13:16:06.875.
Executed 1 test, with 0 failures (0 unexpected) in 3.771 (3.780) seconds
Test Suite 'All tests' passed at 2016-11-23 13:16:06.875.
Executed 1 test, with 0 failures (0 unexpected) in 3.771 (3.784) seconds
Program ended with exit code: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment