BSC_Tests: fix TC_mgwpool_keepalive_down_not_used

Current osmo-bsc master does not support the MGW keepalive yet, so
f_vty_mgw_cfg_keepalive() fails.  This leaves osmo-bsc in unclean
state and makes all LCLS testcases fail.  The problem is that before
calling it we also call f_vty_mgw_enable() and f_vty_mgw_block(),
but not calling their counterparts.

Rearrange the testcase to call f_vty_mgw_cfg_keepalive() first,
so that we fail early before calling f_vty_mgw_{enable,block}().

Change-Id: I6a94c441fe80a92c237c3c4a5481f2dac3376e35
Fixes: bd59842b6 "bsc: Introduce test TC_mgwpool_keepalive"
This commit is contained in:
Vadim Yanitskiy 2023-06-20 17:27:18 +07:00
parent d6c90065c4
commit cf25a3a7b9
1 changed files with 1 additions and 1 deletions

View File

@ -12307,9 +12307,9 @@ testcase TC_mgwpool_keepalive_down_not_used() runs on test_CT {
f_init(1, true, nr_mgw := 2);
f_sleep(1.0);
f_vty_mgw_cfg_keepalive(0, req_intval := 1, req_endp := "null", rx_timeout := 3);
f_vty_mgw_enable(1);
f_vty_mgw_block(1, false);
f_vty_mgw_cfg_keepalive(0, req_intval := 1, req_endp := "null", rx_timeout := 3);
vc_conn1 := f_start_handler_create(pars1);
vc_conn2 := f_start_handler_create(pars2);