Last active
July 9, 2020 16:34
-
-
Save ricardopereira/532e764cc631151b8c76fdd76f53ff38 to your computer and use it in GitHub Desktop.
This file contains 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
Test Case '-[Ably_iOS_Tests.RestClientChannel publish__with_a_Message_object__publishes_the_message_and_invokes_callback_with_success]' started. | |
2020-07-09 14:46:17.273356+0100 xctest[31356:914686] DEBUG: (ARTAuth.m:163) RS:0x7fd39c9411a0 validating <ARTClientOptions: 0x7fd39c92d7f0> - | |
key: _tmp__nL2MA.1KbX9A:ooIOdVMRWxMziqOk; | |
token: (null); | |
authUrl: (null); | |
authMethod: GET; | |
hasAuthCallback: 0; | |
clientId: (null); | |
2020-07-09 14:46:17.280911+0100 xctest[31356:914686] DEBUG: (ARTAuth.m:169) RS:0x7fd39c9411a0 setting up auth method Basic (anonymous) | |
2020-07-09 14:46:17.281595+0100 xctest[31356:914686] DEBUG: (ARTRestChannel.m:129) RS:0x7fd39a7f2010 instantiating under 'test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640' | |
2020-07-09 14:46:17.282430+0100 xctest[31356:914857] DEBUG: RS:0x7fd39c9411a0 ARTJsonLikeEncoder<msgpack> encoding '( | |
{ | |
data = bar; | |
id = "/59YEq4cyb//:0"; | |
name = foo; | |
} | |
)'; got: <9183a269 64ae2f35 39594571 34637962 2f2f3a30 a4646174 61a36261 72a46e61 6d65a366 6f6f> | |
2020-07-09 14:46:17.282701+0100 xctest[31356:914857] DEBUG: (ARTRestChannel.m:334) RS:0x7fd39c9411a0 C:0x7fd39a7f2010 (test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640) post message (null) | |
2020-07-09 14:46:17.287204+0100 xctest[31356:914857] DEBUG: (ARTRest.m:286) RS:0x7fd39c9411a0 calculating authorization 0 | |
2020-07-09 14:46:17.287493+0100 xctest[31356:914857] DEBUG: (ARTRest.m:341) RS:0x7fd39c9411a0 executing request <NSMutableURLRequest: 0x7fd39c943140> { URL: https://sandbox-rest.ably.io:443/channels/test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640/messages } | |
2020-07-09 14:46:17.287750+0100 xctest[31356:914857] DEBUG: --> POST https://sandbox-rest.ably.io:443/channels/test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640/messages | |
Body: (null) | |
Headers: { | |
Accept = "application/x-msgpack,application/json"; | |
Authorization = "Basic X3RtcF9fbkwyTUEuMUtiWDlBOm9vSU9kVk1SV3hNemlxT2s="; | |
"Content-Type" = "application/x-msgpack"; | |
"X-Ably-Lib" = "cocoa.ios-1.2.1"; | |
"X-Ably-Version" = "1.2"; | |
} | |
2020-07-09 14:46:17.596135+0100 xctest[31356:914790] DEBUG: <-- POST https://sandbox-rest.ably.io:443/channels/test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640/messages: statusCode 201 | |
Data: (null) | |
Headers: { | |
"Access-Control-Allow-Origin" = "*"; | |
"Content-Length" = 100; | |
"Content-Type" = "application/x-msgpack"; | |
Date = "Thu, 09 Jul 2020 13:46:17 GMT"; | |
Vary = Origin; | |
Via = "1.1 1ae38585ee28c81ff103c9adf137d5ac.cloudfront.net (CloudFront)"; | |
"access-control-allow-credentials" = true; | |
"access-control-expose-headers" = "Link,Transfer-Encoding,Content-Length,X-Ably-ErrorCode,X-Ably-ErrorMessage,X-Ably-ServerId,Server"; | |
"x-ably-serverid" = "frontend.1cc1.1.eu-west-2-A.i-084464efc3965a890.e02U75aVwAmuoU"; | |
"x-amz-cf-id" = "5jAQuiZLjOUTZwU_T3Li8Koy-i1bHWjSJfw1PzYx7gYUaIEVUr5Yrw=="; | |
"x-amz-cf-pop" = "MAD50-C1"; | |
"x-cache" = "Miss from cloudfront"; | |
} | |
2020-07-09 14:46:17.596693+0100 xctest[31356:914857] DEBUG: (ARTRestChannel.m:230) RS:0x7fd39c9411a0 C:0x7fd39a7f2010 (test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640) stats request <NSMutableURLRequest: 0x7fd39a6f46f0> { URL: /channels/test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640/messages?limit=100&direction=backwards } | |
2020-07-09 14:46:17.596902+0100 xctest[31356:914857] DEBUG: (ARTPaginatedResult.m:115) Paginated request: <NSMutableURLRequest: 0x7fd39a6f46f0> { URL: /channels/test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640/messages?limit=100&direction=backwards } | |
2020-07-09 14:46:17.597111+0100 xctest[31356:914857] DEBUG: (ARTRest.m:286) RS:0x7fd39c9411a0 calculating authorization 0 | |
2020-07-09 14:46:17.597387+0100 xctest[31356:914857] DEBUG: (ARTRest.m:341) RS:0x7fd39c9411a0 executing request <NSMutableURLRequest: 0x7fd39a6f46f0> { URL: https://sandbox-rest.ably.io:443/channels/test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640/messages?limit=100&direction=backwards } | |
2020-07-09 14:46:17.598651+0100 xctest[31356:914857] DEBUG: --> GET https://sandbox-rest.ably.io:443/channels/test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640/messages?limit=100&direction=backwards | |
Body: | |
Headers: { | |
Accept = "application/x-msgpack,application/json"; | |
Authorization = "Basic X3RtcF9fbkwyTUEuMUtiWDlBOm9vSU9kVk1SV3hNemlxT2s="; | |
"X-Ably-Lib" = "cocoa.ios-1.2.1"; | |
"X-Ably-Version" = "1.2"; | |
} | |
2020-07-09 14:46:17.801448+0100 xctest[31356:914790] DEBUG: <-- GET https://sandbox-rest.ably.io:443/channels/test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640/messages?limit=100&direction=backwards: statusCode 200 | |
Data: (null) | |
Headers: { | |
"Access-Control-Allow-Origin" = "*"; | |
"Content-Length" = 1; | |
"Content-Type" = "application/x-msgpack"; | |
Date = "Thu, 09 Jul 2020 13:46:17 GMT"; | |
Link = "<./messages?start=0&end=1594302377697&limit=100&direction=backwards&cont=true&format=msgpack&firstEnd=1594302377697&fromDate=1594302377697&mode=all>; rel=\"first\", <./messages?start=0&end=1594302377697&limit=100&direction=backwards&cont=true&format=msgpack&firstEnd=1594302377697&fromDate=1594302377697&mode=all>; rel=\"current\""; | |
Vary = Origin; | |
Via = "1.1 1ae38585ee28c81ff103c9adf137d5ac.cloudfront.net (CloudFront)"; | |
"access-control-allow-credentials" = true; | |
"access-control-expose-headers" = "Link,Transfer-Encoding,Content-Length,X-Ably-ErrorCode,X-Ably-ErrorMessage,X-Ably-ServerId,Server"; | |
"x-ably-serverid" = "frontend.39fb.2.eu-west-2-A.i-0c4db65b9332f4637.e02iBlqGAAmuof"; | |
"x-amz-cf-id" = "LxYUjB4S-K7q1UVQ-G_Ue8CR2F-6KjhHjS4Gx4XrzIfnlJVH1V8Uqw=="; | |
"x-amz-cf-pop" = "MAD50-C1"; | |
"x-cache" = "Miss from cloudfront"; | |
} | |
2020-07-09 14:46:17.802188+0100 xctest[31356:914790] DEBUG: (ARTPaginatedResult.m:121) Paginated response: <NSHTTPURLResponse: 0x7fd39c8d8930> { URL: https://sandbox-rest.ably.io:443/channels/test-5-CECA5948-5BF4-4FAC-8518-D7CBC2993F22-31356-00004E247C318640/messages?limit=100&direction=backwards } { Status Code: 200, Headers { | |
"Access-Control-Allow-Origin" = ( | |
"*" | |
); | |
"Content-Length" = ( | |
1 | |
); | |
"Content-Type" = ( | |
"application/x-msgpack" | |
); | |
Date = ( | |
"Thu, 09 Jul 2020 13:46:17 GMT" | |
); | |
Link = ( | |
"<./messages?start=0&end=1594302377697&limit=100&direction=backwards&cont=true&format=msgpack&firstEnd=1594302377697&fromDate=1594302377697&mode=all>; rel=\"first\"", | |
"<./messages?start=0&end=1594302377697&limit=100&direction=backwards&cont=true&format=msgpack&firstEnd=1594302377697&fromDate=1594302377697&mode=all>; rel=\"current\"" | |
); | |
Vary = ( | |
Origin | |
); | |
Via = ( | |
"1.1 1ae38585ee28c81ff103c9adf137d5ac.cloudfront.net (CloudFront)" | |
); | |
"access-control-allow-credentials" = ( | |
true | |
); | |
"access-control-expose-headers" = ( | |
"Link,Transfer-Encoding,Content-Length,X-Ably-ErrorCode,X-Ably-ErrorMessage,X-Ably-ServerId,Server" | |
); | |
"x-ably-serverid" = ( | |
"frontend.39fb.2.eu-west-2-A.i-0c4db65b9332f4637.e02iBlqGAAmuof" | |
); | |
"x-amz-cf-id" = ( | |
"LxYUjB4S-K7q1UVQ-G_Ue8CR2F-6KjhHjS4Gx4XrzIfnlJVH1V8Uqw==" | |
); | |
"x-amz-cf-pop" = ( | |
"MAD50-C1" | |
); | |
"x-cache" = ( | |
"Miss from cloudfront" | |
); | |
} } | |
2020-07-09 14:46:17.808072+0100 xctest[31356:914790] DEBUG: (ARTPaginatedResult.m:122) Paginated response data: (null) | |
2020-07-09 14:46:17.808249+0100 xctest[31356:914790] DEBUG: RS:0x7fd39c9411a0 ARTJsonLikeEncoder<msgpack> decoding '<90>'; got: ( | |
) | |
Spec/RestClientChannel.swift:129: error: -[Ably_iOS_Tests.RestClientChannel publish__with_a_Message_object__publishes_the_message_and_invokes_callback_with_success] : expected to equal <foo>, got <nil> (use beNil() to match nils) | |
Spec/RestClientChannel.swift:130: error: -[Ably_iOS_Tests.RestClientChannel publish__with_a_Message_object__publishes_the_message_and_invokes_callback_with_success] : expected to equal <bar>, got <nil> (use beNil() to match nils) | |
Test Case '-[Ably_iOS_Tests.RestClientChannel publish__with_a_Message_object__publishes_the_message_and_invokes_callback_with_success]' failed (0.540 seconds). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment