Change in osmo-ttcn3-hacks[master]: BTS_Tests: clarify unexpected connection result in verdict

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

fixeria gerrit-no-reply at lists.osmocom.org
Tue Mar 23 05:54:12 UTC 2021


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


Change subject: BTS_Tests: clarify unexpected connection result in verdict
......................................................................

BTS_Tests: clarify unexpected connection result in verdict

Change-Id: I8dc3c7a9d9f22b517acc34c80aaaf1732bba0f52
---
M bts/BTS_Tests.ttcn
1 file changed, 3 insertions(+), 2 deletions(-)



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 33545e1..1dad6c1 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -5462,6 +5462,7 @@
 
 /* Ensure that PCUIF socket can accept only a single connection */
 testcase TC_pcu_socket_connect_multi() runs on test_CT {
+	var UD_connect_result cr;
 	timer T := 5.0;
 
 	/* this (among other things) establishes the first connection to the PCUIF socket */
@@ -5474,8 +5475,8 @@
 	[] PCU.receive(UD_connect_result:{id := ?, result := { result_code := ERROR, err := ? }}) {
 		setverdict(pass);
 		}
-	[] PCU.receive(UD_connect_result:?) {
-		setverdict(fail, "Unexpected unix domain connect result");
+	[] PCU.receive(UD_connect_result:?) -> value cr {
+		setverdict(fail, "Unexpected unix domain connect result: ", cr);
 		}
 	[] T.timeout {
 		setverdict(pass);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23463
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: I8dc3c7a9d9f22b517acc34c80aaaf1732bba0f52
Gerrit-Change-Number: 23463
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210323/9bbbe601/attachment.htm>


More information about the gerrit-log mailing list