aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-07-06 16:41:02 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-07-20 16:56:08 +0000
commit4a22ac7d2c0b24dba1939760121381e83827aa57 (patch)
treebaef8a18940ecf2acbc3d48fe4b1da96a9a7c8bd
parentdb0d8ab4fcfac67e76729241d92ca128d4526240 (diff)
aoip_smpp: Disable check in esme_ms_sms_storeforward due to known issue
A test case checked in that test is known to be failing at the moment due to missing correct implementation bits for AoIP software. Comment it in a separate commit so that is easy to revert it once we have it implemented. See OsmoSMSC #2354 for more information. Change-Id: I12f8dbe1d6dc9a554438fda1e38b2e5e3245c320
-rwxr-xr-xsuites/aoip_smpp/esme_ms_sms_storeforward.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/suites/aoip_smpp/esme_ms_sms_storeforward.py b/suites/aoip_smpp/esme_ms_sms_storeforward.py
index 3e7e4f8..308ebf3 100755
--- a/suites/aoip_smpp/esme_ms_sms_storeforward.py
+++ b/suites/aoip_smpp/esme_ms_sms_storeforward.py
@@ -39,17 +39,18 @@ print('sending sms with wrong msisdn %s, it will fail' % wrong_msisdn)
msg = Sms(esme.msisdn, wrong_msisdn, 'smpp message with wrong dest')
esme.run_method_expect_failure(SMPP_ESME_RINVDSTADR, esme.sms_send_wait_resp, msg, esme.MSGMODE_STOREFORWARD)
-print('sending sms, it will be stored...')
-msg = Sms(esme.msisdn, ms.msisdn, 'smpp send not-yet-registered message')
-umref = esme.sms_send_wait_resp(msg, esme.MSGMODE_STOREFORWARD, receipt=True)
+# Disabled due to known issue, see ticket OsmoSMSC #2354
+#print('sending sms, it will be stored...')
+#msg = Sms(esme.msisdn, ms.msisdn, 'smpp send not-yet-registered message')
+#umref = esme.sms_send_wait_resp(msg, esme.MSGMODE_STOREFORWARD, receipt=True)
print('MS registers and will receive the SMS...')
ms.connect(msc.mcc_mnc())
wait(ms.is_connected, msc.mcc_mnc())
wait(msc.subscriber_attached, ms)
-wait(ms.sms_was_received, msg)
-print('Waiting to receive and consume sms receipt with reference', umref)
-wait(esme.receipt_was_received, umref)
+#wait(ms.sms_was_received, msg)
+#print('Waiting to receive and consume sms receipt with reference', umref)
+#wait(esme.receipt_was_received, umref)
print('checking MS can receive SMS while registered...')
msg = Sms(esme.msisdn, ms.msisdn, 'smpp send already-registered message')