Closed walter-weinmann closed 6 years ago
@walter-weinmann Unable to reproduce
*** User 2018-06-04 04:47:37.504 ***
smpp_test_utils:unpack_map_pack:54 ===> unbind
#{additional_status_info_text => "my_additional_status_info_text",
command_id => 2147483653,command_length => 85,command_status => 0,
message_id => "this_could_be_a_message_id",
network_error_code => #{error => 12598,type => 2},
sequence_number => 1}
{
"additional_status_info_text": "my_additional_status_info_text",
"command_id": 2147483653,
"command_length": 85,
"command_status": 0,
"message_id": "this_could_be_a_message_id",
"network_error_code": {
"error": 12598,
"type": 2
},
"sequence_number": 1
}
*** User 2018-06-04 04:47:37.504 ***
smpp_test_utils:unpack_map_pack:57 ===>
Expected : <<0,0,0,85,128,0,0,5,0,0,0,0,0,0,0,1,116,104,105,115,95,99,111,117,
108,100,95,98,101,95,97,95,109,101,115,115,97,103,101,95,105,100,
0,0,29,0,31,109,121,95,97,100,100,105,116,105,111,110,97,108,95,
115,116,97,116,117,115,95,105,110,102,111,95,116,101,120,116,0,4,
35,0,3,2,49,54>>
Got : <<0,0,0,85,128,0,0,5,0,0,0,0,0,0,0,1,116,104,105,115,95,99,111,117,
108,100,95,98,101,95,97,95,109,101,115,115,97,103,101,95,105,100,
0,4,35,0,3,2,49,54,0,29,0,31,109,121,95,97,100,100,105,116,105,
111,110,97,108,95,115,116,97,116,117,115,95,105,110,102,111,95,
116,101,120,116,0>>
*** CT Error Notification 2018-06-04 04:47:37.505 ***
smpp_test_utils:'-unpack_map_pack/1-fun-1-' failed on line 60
Reason: assertEqual
*** User 2018-06-04 04:47:37.888 ***
smpp_test_utils:unpack_pack:71 ===> unbind
#{additional_status_info_text => "my_additional_status_info_text",
command_id => 2147483653,command_length => 85,command_status => 0,
message_id => "this_could_be_a_message_id",
network_error_code => [#{},#{}],
sequence_number => 1}
{
"additional_status_info_text": "my_additional_status_info_text",
"command_id": 2147483653,
"command_length": 85,
"command_status": 0,
"message_id": "this_could_be_a_message_id",
"network_error_code": [
{},
{}
],
"sequence_number": 1
}
*** CT Error Notification 2018-06-04 04:47:37.888 ***
maps:get failed
Reason: badkey
Fixed with latest version.