This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
daniel gerrit-no-reply at lists.osmocom.orgdaniel has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21536 ) Change subject: gbproxy: Reset gbproxy bvc as well as ns state ...................................................................... gbproxy: Reset gbproxy bvc as well as ns state We need to ensure that before each test the gbproxy does not have any state. Move the vty commands into loops that run before we init either SGSN or PCU Gb. This ensures that we don't send some spurious block or other message at the start of the test. Related: SYS#5002 Change-Id: Iaedfadf94f716b190495a807c28785be0078addc --- M gbproxy/GBProxy_Tests.ttcn 1 file changed, 7 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/36/21536/1 diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn index c9b08cc..a9bbded 100644 --- a/gbproxy/GBProxy_Tests.ttcn +++ b/gbproxy/GBProxy_Tests.ttcn @@ -382,11 +382,17 @@ f_init_vty(); for (i := 0; i < lengthof(mp_nsconfig_sgsn); i := i+1) { f_vty_transceive(GBPVTY, "nsvc nsei " & int2str(g_sgsn[i].cfg.nsei) & " force-unconfigured"); + } + for (i := 0; i < lengthof(mp_nsconfig_pcu); i := i+1) { + f_vty_transceive(GBPVTY, "nsvc nsei " & int2str(g_pcu[i].cfg.nsei) & " force-unconfigured"); + f_vty_transceive(GBPVTY, "delete-gbproxy-peer " & int2str(g_pcu[i].cfg.nsei) & " only-bvc"); + } + + for (i := 0; i < lengthof(mp_nsconfig_sgsn); i := i+1) { f_init_gb_sgsn(g_sgsn[i], "GbProxy_Test", i); } f_sleep(4.0); for (i := 0; i < lengthof(mp_nsconfig_pcu); i := i+1) { - f_vty_transceive(GBPVTY, "nsvc nsei " & int2str(g_pcu[i].cfg.nsei) & " force-unconfigured"); f_init_gb_pcu(g_pcu[i], "GbProxy_Test", i); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21536 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Iaedfadf94f716b190495a807c28785be0078addc Gerrit-Change-Number: 21536 Gerrit-PatchSet: 1 Gerrit-Owner: daniel <dwillmann at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201204/b717cb34/attachment.htm>