diff options
author | Harald Welte <laforge@osmocom.org> | 2019-12-04 21:53:29 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2019-12-04 22:10:53 +0100 |
commit | bca0ecd282277064931575259ad85e77a1833472 (patch) | |
tree | 54bbd8d6622f9afcf5cf5747894baf62900b9be3 /remsim/RemsimBankd_Tests.ttcn | |
parent | d14ad4ccbad0cd75d42d19a723bb5fe0ce3c52f7 (diff) |
resmim: Adjust TC_createMapping_busySlot to current bankd code
Since osmo-remsim Change-Id I83e319d22896b881c0d882542842f500075aa546
createMapping will overwrite any existing mappings that may already
exist for that bank-slot. We need to adjust our test expectations
accordingly.
Change-Id: Ia8de9edd7edb0437cd783b7d045571ff69820c42
Related: OS#4278
Diffstat (limited to 'remsim/RemsimBankd_Tests.ttcn')
-rw-r--r-- | remsim/RemsimBankd_Tests.ttcn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remsim/RemsimBankd_Tests.ttcn b/remsim/RemsimBankd_Tests.ttcn index 4e870249..e86dc166 100644 --- a/remsim/RemsimBankd_Tests.ttcn +++ b/remsim/RemsimBankd_Tests.ttcn @@ -95,8 +95,10 @@ testcase TC_createMapping_busySlot() runs on bankd_test_CT { f_rspro_srv_reset_state(ok); var BankSlot bs := { bankId := mp_bank_id, slotNr := 0 }; var ClientSlot cs := { clientId := 23, slotNr := 42 }; + /* create the mapping the first time */ + f_rspro_srv_create_slotmap(cs, bs); + /* re-create the mapping a second time */ f_rspro_srv_create_slotmap(cs, bs); - f_rspro_srv_create_slotmap(cs, bs, exp_res := illegalSlotId); Misc_Helpers.f_shutdown(__BFILE__, __LINE__, pass); } |