K2InformaticsGmbH / smpp_parser

A parser for SMPP protocol PDUs
Apache License 2.0
3 stars 1 forks source link

Unpack error {'ESME_RINVSCHED',"ESME_RINVSCHED", "Invalid Scheduled Delivery Time"} #28

Closed walter-weinmann closed 6 years ago

walter-weinmann commented 6 years ago
=== Reason: no match of right hand side value {error,
                                                    <<"Invalid Scheduled Delivery Time">>}
  in function  smpp_test_utils:encode_decode/1 (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/test/src/smpp_test_utils.erl, line 41)
  in call from compacted_replace_sm_SUITE:test_compacted/1 (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/test/generated/ct/compacted_replace_sm_SUITE.erl, line 49)
  in call from test_server:ts_tc/3 (test_server.erl, line 1546)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1062)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 994)

Example:

 {"replace_sm_issue_28",
  "00 00 00 79 00 00 00 07 00 00 00 00 00 00 00 01 74 68 69 73 5F 63 6F 75 6C "
  "64 5F 62 65 5F 61 5F 6D 65 73 73 61 67 65 5F 69 64 00 06 03 31 32 37 2E 30 "
  "2E 30 2E 31 00 39 39 30 30 30 30 30 30 30 30 30 30 30 30 30 2B 00 39 39 30 "
  "34 32 37 32 30 30 30 30 30 30 30 30 52 00 10 7F 00 04 24 00 19 6D 79 5F 6D "
  "65 73 73 61 67 65 5F 70 61 79 6C 6F 61 64 5F 30 30 30 30 35 00"}  
walter-weinmann commented 6 years ago

Issue in test data generation.

walter-weinmann commented 6 years ago

Test generator problem.