diff --git a/gbproxy/GBProxy_Tests.cfg b/gbproxy/GBProxy_Tests.cfg index d610e407d..1aeb7eb49 100644 --- a/gbproxy/GBProxy_Tests.cfg +++ b/gbproxy/GBProxy_Tests.cfg @@ -25,3 +25,4 @@ GBProxy_Tests.mp_nsconfig_sgsn := { [EXECUTE] GBProxy_Tests.control +GBProxy_Tests_Outage.control diff --git a/gbproxy/GBProxy_Tests_Outage.ttcn b/gbproxy/GBProxy_Tests_Outage.ttcn new file mode 100644 index 000000000..3433c9cba --- /dev/null +++ b/gbproxy/GBProxy_Tests_Outage.ttcn @@ -0,0 +1,29 @@ +module GBProxy_Tests_Outage { + +/* Osmocom GBProxy test suite in TTCN-3 + * (C) 2020-2021 Harald Welte + * (C) 2020 sysmocom - s.f.m.c. GmbH + * All rights reserved. + * + * Author: Daniel Willmann + + * 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() ); +} + + +}