sgsn: f_pdp_ctx_deact_mt: rework test behaviour to workaround shutdown problems

When introducing multiple BSSGP instances, this
tests has problem when shutting down the test.

Change-Id: I0cd1adf072f8ba40343e51e41f23a1de6a2bd62c
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 0a20dd6..ce796e8 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -979,11 +979,20 @@
 	} else {
 		GTP.send(ts_GTPC_DeletePDP(peer, seq_nr, apars.sgsn_tei_c, apars.nsapi, '1'B));
 	}
+
+	timer T := 5.0;
+	T.start;
+
 	alt {
 	[] BSSGP.receive(tr_BD_L3_MT(tr_SM_DEACT_PDP_REQ_MT(apars.tid, ?, true))) {
 		BSSGP.send(ts_SM_DEACT_PDP_ACCEPT_MO(apars.tid));
 		}
-	[not error_ind] GTP.receive(tr_GTPC_MsgType(?, deletePDPContextResponse, apars.ggsn_tei_c)) { }
+	[not error_ind] GTP.receive(tr_GTPC_MsgType(?, deletePDPContextResponse, apars.ggsn_tei_c)) {
+		repeat;
+		}
+	[] T.timeout {
+		setverdict(fail, "Waiting for SM_DEACT_PDP_REQ_MT");
+		}
 	}
 }