osmo-ttcn3-hacks/gbproxy/GBProxy_Tests_Outage.ttcn

30 lines
734 B
Plaintext

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() );
}
}