Change in osmo-ttcn3-hacks[master]: bts-oml: Wait for SwActivatedRep before opstarting BTS nm obj

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/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Oct 16 17:11:16 UTC 2020


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20680 )

Change subject: bts-oml: Wait for SwActivatedRep before opstarting BTS nm obj
......................................................................

bts-oml: Wait for SwActivatedRep before opstarting BTS nm obj

According to TS 12.21 attribute setting is done after the object becomes
sw installed.

Change-Id: I942c55df8ac8af22593e31ac4c501f644e9bee35
---
M bts/BTS_Tests_OML.ttcn
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/bts/BTS_Tests_OML.ttcn b/bts/BTS_Tests_OML.ttcn
index 4835e66..dc1b7ce 100644
--- a/bts/BTS_Tests_OML.ttcn
+++ b/bts/BTS_Tests_OML.ttcn
@@ -507,6 +507,13 @@
 	var OML_FOM_ObjectClass obj_class := NM_OC_BTS;
 	var OML_FOM_ObjectInstance obj_inst := valueof(ts_OML_ObjectInstance(g_bts_nr, 255, 255));
 
+	alt {
+	[] OML.receive(tr_OML_SwActivatedRep(NM_OC_BTS, ts_OML_ObjectInstance(g_bts_nr, 255, 255))) {
+		setverdict(pass);
+		}
+	[] OML.receive { repeat; }
+	}
+
 	f_oml_bts_attr();
 	f_oml_opstart(obj_class, obj_inst);
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20680
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: I942c55df8ac8af22593e31ac4c501f644e9bee35
Gerrit-Change-Number: 20680
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201016/4b85c816/attachment.htm>


More information about the gerrit-log mailing list