Change in osmo-ttcn3-hacks[master]: resmim: Adjust TC_createMapping_busySlot to current bankd code

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Dec 4 20:55:13 UTC 2019


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16495 )


Change subject: resmim: Adjust TC_createMapping_busySlot to current bankd code
......................................................................

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
---
M remsim/RemsimBankd_Tests.ttcn
1 file changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/95/16495/1

diff --git a/remsim/RemsimBankd_Tests.ttcn b/remsim/RemsimBankd_Tests.ttcn
index 4e87024..e86dc16 100644
--- a/remsim/RemsimBankd_Tests.ttcn
+++ b/remsim/RemsimBankd_Tests.ttcn
@@ -95,8 +95,10 @@
 	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);
-	f_rspro_srv_create_slotmap(cs, bs, exp_res := illegalSlotId);
+	/* re-create the mapping a second time */
+	f_rspro_srv_create_slotmap(cs, bs);
 	Misc_Helpers.f_shutdown(__BFILE__, __LINE__, pass);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16495
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ia8de9edd7edb0437cd783b7d045571ff69820c42
Gerrit-Change-Number: 16495
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191204/1077c37b/attachment.htm>


More information about the gerrit-log mailing list