pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36578?usp=email )


Change subject: bsc: Early shutdown upon BSSMAP RESET-ACK timeout
......................................................................

bsc: Early shutdown upon BSSMAP RESET-ACK timeout

Change-Id: I75e098d387562267d5851bc753e27e40186827ed
---
M bsc/BSC_Tests.ttcn
1 file changed, 13 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/78/36578/1

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 1fc42ba..5e4ebbc 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -941,13 +941,15 @@
                }
        [] BSSAP.receive { repeat; }
        [] T.timeout {
-                       log("BSSMAP: Timeout waiting for RESET-ACK after 
sending RESET");
                        /* If we received a RESET after ours was sent, it
                           may be a race condition where the other peer beacame
                           available after we sent it, but we are in a desired
                           state anyway, so go forward. */
                        if (not reset_received) {
-                               setverdict(fail);
+                               Misc_Helpers.f_shutdown(__BFILE__, __LINE__, 
fail,
+                                                       "BSSMAP: Timeout 
waiting for RESET-ACK after sending RESET");
+                       } else {
+                               log("BSSMAP: Timeout waiting for RESET-ACK 
after sending RESET");
                        }
                }
        }

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36578?usp=email
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: I75e098d387562267d5851bc753e27e40186827ed
Gerrit-Change-Number: 36578
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to