Change in osmo-ttcn3-hacks[master]: TC_rach_content(): fail test explicitly

Max gerrit-no-reply at lists.osmocom.org
Tue Mar 5 09:53:57 UTC 2019


Max has uploaded this change for review. ( https://gerrit.osmocom.org/13127


Change subject: TC_rach_content(): fail test explicitly
......................................................................

TC_rach_content(): fail test explicitly

By default Misc_Helpers.f_shutdown() will set test verdict to
'none'. Let's fail test explicitly if we had any timeouts.

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



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 279b437..ec9ec6a 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1023,6 +1023,8 @@
 	}
 	if (test_failed == false) {
 		setverdict(pass);
+	} else {
+		Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, log2str("Some out of 1000 RACH requests timed out"));
 	}
 	Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
 }

-- 
To view, visit https://gerrit.osmocom.org/13127
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifff8b3b83eeedea0d308f7ab0bfe347e2dc278c8
Gerrit-Change-Number: 13127
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190305/c4bcfaca/attachment.html>


More information about the gerrit-log mailing list