aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2024-04-30 11:57:50 +0200
committerOliver Smith <osmith@sysmocom.de>2024-04-30 11:59:38 +0200
commitd9f62a18e7b6225e0da84534a02ae42bbe6fad6d (patch)
treeb9ae2c351467f4067834ef2605cf46e7c31e9deb
parent7ed7bd6e6def0e0c874d4731ed9dbb2e5d8bea9e (diff)
hnbgw: only do f_statsd_expect for nightlyosmith/wip
Fix that 6 tests started failing on ttcn3-hnbgw-test-latest with e.g.: Timeout waiting for metrics HNBGW_Tests.ttcn:2885 HNBGW_Tests control part HNBGW_Tests.ttcn:1536 TC_rab_assign_fail testcase Change-Id: I0cd47728308757fe6eaaaed1581fbbec03a09cf7
-rw-r--r--hnbgw/HNBGW_Tests.ttcn24
1 files changed, 18 insertions, 6 deletions
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 3369e373..88b8c1ea 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -1442,7 +1442,9 @@ friend function f_tc_rab_assignment(charstring id, TestHdlrParams pars) runs on
{name := hnb0_ctr_prefix & "ranap.cs.rab_act.cnf", mtype := "c", min := 0, max := 0},
{name := hnb0_ctr_prefix & "ranap.cs.rab_act.fail", mtype := "c", min := 0, max := 0}
};
- f_statsd_expect(expect);
+ if (f_osmo_repo_is("nightly")) {
+ f_statsd_expect(expect);
+ }
f_create_rab(pars.mgcp_pars);
@@ -1451,7 +1453,9 @@ friend function f_tc_rab_assignment(charstring id, TestHdlrParams pars) runs on
{name := hnb0_ctr_prefix & "ranap.cs.rab_act.cnf", mtype := "c", min := 1, max := 1},
{name := hnb0_ctr_prefix & "ranap.cs.rab_act.fail", mtype := "c", min := 0, max := 0}
};
- f_statsd_expect(expect);
+ if (f_osmo_repo_is("nightly")) {
+ f_statsd_expect(expect);
+ }
/* Send Iu Release */
tx := valueof(ts_RANAP_IuReleaseCommand(pars.rab_rel_cause));
@@ -1500,7 +1504,9 @@ friend function f_tc_rab_assign_fail(charstring id, TestHdlrParams pars) runs on
{name := hnb0_ctr_prefix & "ranap.cs.rab_act.cnf", mtype := "c", min := 0, max := 0},
{name := hnb0_ctr_prefix & "ranap.cs.rab_act.fail", mtype := "c", min := 0, max := 0}
};
- f_statsd_expect(expect);
+ if (f_osmo_repo_is("nightly")) {
+ f_statsd_expect(expect);
+ }
f_rab_ass_req(pars.mgcp_pars);
@@ -1513,7 +1519,9 @@ friend function f_tc_rab_assign_fail(charstring id, TestHdlrParams pars) runs on
{name := hnb0_ctr_prefix & "ranap.cs.rab_act.cnf", mtype := "c", min := 0, max := 0},
{name := hnb0_ctr_prefix & "ranap.cs.rab_act.fail", mtype := "c", min := 1, max := 1}
};
- f_statsd_expect(expect);
+ if (f_osmo_repo_is("nightly")) {
+ f_statsd_expect(expect);
+ }
T.start;
@@ -1563,7 +1571,9 @@ friend function f_tc_rab_release(charstring id, TestHdlrParams pars) runs on Con
var StatsDExpects expect := {
{name := hnb0_ctr_prefix & ctr_name, mtype := "c", min := 0, max := 0}
};
- f_statsd_expect(expect);
+ if (f_osmo_repo_is("nightly")) {
+ f_statsd_expect(expect);
+ }
/* Send RAB Release */
tx := valueof(ts_RANAP_RabAssReq(rab_rl := ts_RAB_RL(t_RAB_id(23), pars.rab_rel_cause)));
@@ -1572,7 +1582,9 @@ friend function f_tc_rab_release(charstring id, TestHdlrParams pars) runs on Con
expect := {
{name := hnb0_ctr_prefix & ctr_name, mtype := "c", min := 1, max := 1}
};
- f_statsd_expect(expect);
+ if (f_osmo_repo_is("nightly")) {
+ f_statsd_expect(expect);
+ }
T.start;