pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43524?usp=email )
Change subject: stp: m3ua: Fix array size ......................................................................
stp: m3ua: Fix array size
Recent commit added ASPs to the config but forgot to extend the array holding runtime information about the ASPs. Since some tests simply use all ASPS in the config, those would fail when trying to access the array out of bounds.
Fixes: 32c3ea0cb0e1b2399e1ecf2eaf5aa55fcbbadc38 Change-Id: I101c36478c5d74823c2ae4a2c0843b5b6c0357f7 --- M stp/STP_Tests_M3UA.ttcn 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/24/43524/1
diff --git a/stp/STP_Tests_M3UA.ttcn b/stp/STP_Tests_M3UA.ttcn index 60add43..8a2404f 100644 --- a/stp/STP_Tests_M3UA.ttcn +++ b/stp/STP_Tests_M3UA.ttcn @@ -38,7 +38,7 @@
import from STP_Tests_Common all;
-private const integer MAX_NR_M3UA := 9; /* Maximum number of M3UA clients+servers in ATS */ +private const integer MAX_NR_M3UA := 10; /* Maximum number of M3UA clients+servers in ATS */
modulepar { /* STP-side IP addresses */