gbproxy: Add GBProxy_Tests_Outage

This test runs TC_BVC_bringup, terminates all components, waits
long enough for all NSVCs to go dead, and then re-starts TC_BVC_bringup
to see if it still recovers.

Change-Id: I421baa83611baf5df9374ef1598f7c37189dd961
laforge/gbproxy-outage
Harald Welte 2 years ago
parent c3c6ee6c63
commit 693476da5d
  1. 1
      gbproxy/GBProxy_Tests.cfg
  2. 29
      gbproxy/GBProxy_Tests_Outage.ttcn

@ -25,3 +25,4 @@ GBProxy_Tests.mp_nsconfig_sgsn := {
[EXECUTE]
GBProxy_Tests.control
GBProxy_Tests_Outage.control

@ -0,0 +1,29 @@
module GBProxy_Tests_Outage {
/* Osmocom GBProxy test suite in TTCN-3
* (C) 2020-2021 Harald Welte <laforge@osmocom.org>
* (C) 2020 sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Author: Daniel Willmann <dwillmann@sysmocom.de>
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from GBProxy_Tests all;
import from Osmocom_Types all;
/* we want to test recovery after an outage of some sort. So we first bring
* up everything, wait for some time until all state is lost, and then re-start
* from scratch */
control {
execute( TC_BVC_bringup() );
f_sleep(90.0);
execute( TC_BVC_bringup() );
}
}
Loading…
Cancel
Save