aboutsummaryrefslogtreecommitdiffstats
path: root/selftest
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-04-10 03:45:30 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-04-10 05:09:23 +0200
commit5356d0adcef703dc965b03028e6c9a4afd23fb79 (patch)
tree8ca2a85ac637c0e6fca74120145e735ac4be6c91 /selftest
parent85eb324165a8f4076fdd58f9d84b6c0443b5beb9 (diff)
trying to get sysmobts to work and various details
I know that these commit messages aren't very good, but the code is not stable yet, so I'm not bothering with details. Change-Id: I2d5e5f4a5407725d71093cbd71ef97b271eb8197
Diffstat (limited to 'selftest')
-rw-r--r--selftest/real_suite/default-suites.conf2
-rw-r--r--selftest/real_suite/default.conf12
-rw-r--r--selftest/real_suite/resources.conf6
-rw-r--r--selftest/real_suite/scenarios/sysmo.conf3
-rwxr-xr-xselftest/real_suite/suites/sms/mo_mt_sms.py4
5 files changed, 15 insertions, 12 deletions
diff --git a/selftest/real_suite/default-suites.conf b/selftest/real_suite/default-suites.conf
index 84a28b6..601076a 100644
--- a/selftest/real_suite/default-suites.conf
+++ b/selftest/real_suite/default-suites.conf
@@ -1 +1 @@
-- sms:trx
+- sms:sysmo
diff --git a/selftest/real_suite/default.conf b/selftest/real_suite/default.conf
index b247722..251a7b8 100644
--- a/selftest/real_suite/default.conf
+++ b/selftest/real_suite/default.conf
@@ -17,12 +17,12 @@ nitb_bts:
timeslot_list:
- phys_chan_config: CCCH+SDCCH4
- phys_chan_config: SDCCH8
- - phys_chan_config: TCH_F/TCH_H/PDCH
- - phys_chan_config: TCH_F/TCH_H/PDCH
- - phys_chan_config: TCH_F/TCH_H/PDCH
- - phys_chan_config: TCH_F/TCH_H/PDCH
- - phys_chan_config: TCH_F/TCH_H/PDCH
- - phys_chan_config: TCH_F/TCH_H/PDCH
+ - phys_chan_config: TCH/F_TCH/H_PDCH
+ - phys_chan_config: TCH/F_TCH/H_PDCH
+ - phys_chan_config: TCH/F_TCH/H_PDCH
+ - phys_chan_config: TCH/F_TCH/H_PDCH
+ - phys_chan_config: TCH/F_TCH/H_PDCH
+ - phys_chan_config: TCH/F_TCH/H_PDCH
osmo_bts_sysmo:
ipa_unit_id: 1123
diff --git a/selftest/real_suite/resources.conf b/selftest/real_suite/resources.conf
index a6c396b..5fe4ca5 100644
--- a/selftest/real_suite/resources.conf
+++ b/selftest/real_suite/resources.conf
@@ -1,9 +1,9 @@
# all hardware and interfaces available to this osmo-gsm-tester
nitb_iface:
-- addr: 127.0.0.10
-- addr: 127.0.0.11
-- addr: 127.0.0.12
+- addr: 10.42.42.1
+- addr: 10.42.42.2
+- addr: 10.42.42.3
bts:
- label: sysmoBTS 1002
diff --git a/selftest/real_suite/scenarios/sysmo.conf b/selftest/real_suite/scenarios/sysmo.conf
new file mode 100644
index 0000000..5980c1a
--- /dev/null
+++ b/selftest/real_suite/scenarios/sysmo.conf
@@ -0,0 +1,3 @@
+resources:
+ bts:
+ - type: sysmo
diff --git a/selftest/real_suite/suites/sms/mo_mt_sms.py b/selftest/real_suite/suites/sms/mo_mt_sms.py
index b97d332..9c8cca9 100755
--- a/selftest/real_suite/suites/sms/mo_mt_sms.py
+++ b/selftest/real_suite/suites/sms/mo_mt_sms.py
@@ -10,7 +10,7 @@ ms_mt = suite.modem()
print('start nitb and bts...')
nitb.bts_add(bts)
nitb.start()
-sleep(.1)
+sleep(1)
assert nitb.running()
bts.start()
@@ -19,7 +19,7 @@ nitb.subscriber_add(ms_mt)
ms_mo.connect(nitb)
ms_mt.connect(nitb)
-wait(nitb.subscriber_attached, ms_mo, ms_mt)
+wait(nitb.subscriber_attached, ms_mo, ms_mt, timeout=20)
sms = ms_mo.sms_send(ms_mt.msisdn)
wait(ms_mt.sms_received, sms)