Change in osmo-ttcn3-hacks[master]: BTS_Tests: wait until BTS supplies stable signal

dexter gerrit-no-reply at lists.osmocom.org
Tue Apr 23 14:49:32 UTC 2019


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/13747


Change subject: BTS_Tests: wait until BTS supplies stable signal
......................................................................

BTS_Tests: wait until BTS supplies stable signal

When running tests with real hardware it is important to wait for some
time (3 sec. should be enough) before exiting f_init(). This is to
ensure that the BTS supplies a stable carrier before the test proceeds.

Change-Id: Ib78633a33a15cd40514e15b6ebf9a0a8fb7b9c68
Related: OS#3863
---
M bts/BTS_Tests.ttcn
1 file changed, 4 insertions(+), 0 deletions(-)



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 63372d4..aaf6b70 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -364,6 +364,10 @@
 		f_main_trxc_connect();
 		ret := f_TRXC_transceive(BTS_TRXC, g_bts_trxc_conn_id, valueof(ts_TRXC_FAKE_TIMING(2*256)));
 	}
+
+	/* Wait some extra time to make sure the BTS emits a stable carrier.
+	 * (this is only relevant when running the tests with a physical BTS.) */
+	f_sleep(3.0);
 }
 
 /* Attach L1CTL to master test_CT (classic tests, non-handler mode) */

-- 
To view, visit https://gerrit.osmocom.org/13747
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: Ib78633a33a15cd40514e15b6ebf9a0a8fb7b9c68
Gerrit-Change-Number: 13747
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190423/ad788fed/attachment.html>


More information about the gerrit-log mailing list