Commit Graph

10 Commits

Author SHA1 Message Date
Harald Welte d73ba5801c ns/gbproxy/sgsn: Update configs to use logging level lnssignal'
In libosmocore I34b8fde2955ecc010d1dcd9512e1bba9211e2c0d we introduced
a new log subsystem; enabel it in the related configs here

Change-Id: Ie3d178e68aa81d5636c87940074cb6582ac2f131
2021-04-21 07:17:38 +00:00
Alexander Couzens 60548b1096 ns: TC_sns_bss_change_weight_timeout rework TC to use g_handle_rx_alive
With g_handle_rx_alive the test case doesn't need to use alt{}
as f_ns_exp takes care of the NS_ALIVE.

Related: OS#5036
Change-Id: I45f4392b556912bf60859f354a5687a44e6beeb1
2021-04-19 00:52:33 +02:00
Alexander Couzens a93cc364a8 ns: TC_sns_bss_change_weight_timeout: fix expected SNS_SIZE PDU
Allow to work with IPv4 and IPv6 endpoints and only expected known required
fields (e.g. NSEI and rst_flag).

Related: OS#5036
Change-Id: I60f669d7c8838d460a14c6604c4375a8d47f5149
2021-04-19 00:52:25 +02:00
Alexander Couzens 6c723fb7b4 ns: SNS: add testcase to test change_weight retries
Change-Id: Ie8d976a81abe0bcff53bb74991d428dbf1fe314b
2021-03-20 16:41:42 +01:00
Alexander Couzens d5ac510648 ns: SNS: add bss change weight testcase
Do a normal SNS configuration. Afterwards the BSS will change
the weights of the endpoints

Change-Id: I691b9d26bf3eb8fa65aa02eba3efd0fd3869fc2a
2021-03-20 16:41:01 +01:00
Alexander Couzens cbee32a9a7 ns: SNS: add first SNS test case
Do a successful IP-SNS configuration.

Change-Id: I822e3a440db492c91caa3a79acbfd4661852d021
2021-03-02 10:07:29 +01:00
Alexander Couzens e48d355650 ns: SNS: ensure all current testcase are only executed with IPACCESS or RESET_BLOCK dialect
All current test cases are for those 2 dialect. In preparation
of SNS test cases ensure those testcase have the correct dependency.

Change-Id: Ifda066553eabb0ace4aca12e60797c4950fcc498
2021-03-02 10:07:26 +01:00
Pau Espin 4858184bd4 StatsD_Checker: Enable by default
It was previously disabled by default in order to avoid test breakage
with older versions of osmocom projects not supporting them. Since we
just did a new release, all -latest contian now master which should work
fine.

Don't remove the moduleparam yet in order to avoid breakage with some
cfg files in docker-playground.git still setting it to true.

Related: OS#5042
Change-Id: I4e2049c109986906d3c985ca2282174b1abff581
2021-02-26 12:42:35 +01:00
Alexander Couzens 87e44cfe55 ns: fix broken tests by adding weight
The NSConfiguration now requires signalling_weight and data_weight.
Otherwise the tests will fail to an unbound integer.

Change-Id: I4484d48d945d5e6e1711f9bedf3248a24ecc4e76
2021-02-03 15:43:07 +01:00
Alexander Couzens 20cd41ec89 Introduce NS test cases
Related: SYS#5208
Change-Id: Ic619a374b88879d3116f8f28afb14401c3e3192b
2021-01-25 14:14:47 +01:00