[PATCH] osmo-msc[master]: fix vty tests: long timeout due to unreachable STP address

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Oct 2 14:40:31 UTC 2017


Review at  https://gerrit.osmocom.org/4123

fix vty tests: long timeout due to unreachable STP address

The doc/examples/osmo-msc SCCP config examples with 10.23.42.1 as asp ip-remote
cause >5 minutes timeout for each VTY config test being run before the VTY
becomes available. This hugely elongates the config tests, we didn't spot it
before because it does succeed after that timeout. Rather use link-local
addresses in order to immediately note the lack of connection and carry on with
the VTY config tests.

Related: OS#2333
Change-Id: I5ea4ef8a7e181bd3a38edf9c3b5d098f6ba65ee5
---
M doc/examples/osmo-msc/osmo-msc_custom-sccp.cfg
M doc/examples/osmo-msc/osmo-msc_multi-cs7.cfg
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/23/4123/1

diff --git a/doc/examples/osmo-msc/osmo-msc_custom-sccp.cfg b/doc/examples/osmo-msc/osmo-msc_custom-sccp.cfg
index 3de478a..4ccb0d0 100644
--- a/doc/examples/osmo-msc/osmo-msc_custom-sccp.cfg
+++ b/doc/examples/osmo-msc/osmo-msc_custom-sccp.cfg
@@ -18,7 +18,7 @@
  point-code 0.23.1
  asp asp-clnt-OsmoMSC-A-Iu 2905 0 m3ua
   ! where to reach the STP:
-  remote-ip 10.23.24.1
+  remote-ip 127.0.0.5
 ! local-ip 10.23.24.1
 msc
  cs7-instance-a 0
diff --git a/doc/examples/osmo-msc/osmo-msc_multi-cs7.cfg b/doc/examples/osmo-msc/osmo-msc_multi-cs7.cfg
index 3c38445..8b481de 100644
--- a/doc/examples/osmo-msc/osmo-msc_multi-cs7.cfg
+++ b/doc/examples/osmo-msc/osmo-msc_multi-cs7.cfg
@@ -17,11 +17,11 @@
 cs7 instance 0
  point-code 0.23.1
  asp asp-clnt-OsmoMSC-A 2905 0 m3ua
-  remote-ip 10.23.24.1
+  remote-ip 127.0.0.5
 cs7 instance 1
  point-code 0.23.2
  asp asp-clnt-OsmoMSC-Iu 2905 0 m3ua
-  remote-ip 10.23.24.2
+  remote-ip 127.0.0.6
 msc
  cs7-instance-a 0
  cs7-instance-iu 1

-- 
To view, visit https://gerrit.osmocom.org/4123
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5ea4ef8a7e181bd3a38edf9c3b5d098f6ba65ee5
Gerrit-PatchSet: 1
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>


More information about the gerrit-log mailing list