From 8e6df0c81115cb73ef9a48a98993ed4289f9abfc Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sun, 18 Oct 2020 00:13:15 +0700 Subject: [PATCH] PCU_Tests: add missing f_shutdown(final := true) statements Otherwise those test cases may sporadically fail due to DTE: Sending data on the connection of port CLCK to 8:CLCK failed. (Broken pipe) Change-Id: Ia8c934697a4e7bc39e762bf81587fea3bbe11b17 --- pcu/PCU_Tests.ttcn | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn index 34dd03549..a6f052e0c 100644 --- a/pcu/PCU_Tests.ttcn +++ b/pcu/PCU_Tests.ttcn @@ -891,6 +891,8 @@ testcase TC_countdown_procedure() runs on RAW_PCU_Test_CT { /* receive one message on BSSGP with all aggregated data in payload: */ BSSGP[0].receive(tr_BSSGP_UL_UD(ms.tlli, mp_gb_cfg.bvc[0].cell_id, total_payload)); + + f_shutdown(__BFILE__, __LINE__, final := true); } /* Verify PCU handles correctly CS1..4 with all possible LLC payload sizes fitting alone in one RLC block */ @@ -980,7 +982,8 @@ testcase TC_ul_all_sizes() runs on RAW_PCU_Test_CT { /* DL ACK/NACK sets poll+rrbp requesting PACKET CONTROL ACK */ f_ms_tx_ul_block(ms, ts_RLCMAC_CTRL_ACK(ms.tlli), sched_fn); } - setverdict(pass); + + f_shutdown(__BFILE__, __LINE__, final := true); } function f_TC_ul_data_toolong_fills_padding_cs(inout GprsMS ms, CodingScheme cs, integer cv) runs on RAW_PCU_Test_CT { @@ -1045,7 +1048,7 @@ testcase TC_ul_data_toolong_fills_padding() runs on RAW_PCU_Test_CT { f_TC_ul_data_toolong_fills_padding_cs(ms, CS_3, 1); f_TC_ul_data_toolong_fills_padding_cs(ms, CS_4, 0); - setverdict(pass); + f_shutdown(__BFILE__, __LINE__, final := true); } /* Test scenario where MS wants to send some data on PDCH against SGSN and it is @@ -1386,6 +1389,8 @@ testcase TC_ul_intermediate_retrans() runs on RAW_PCU_Test_CT { /* receive one message on BSSGP with all aggregated data in payload: */ BSSGP[0].receive(tr_BSSGP_UL_UD(ms.tlli, mp_gb_cfg.bvc[0].cell_id, total_payload)); + + f_shutdown(__BFILE__, __LINE__, final := true); } /* Verify that if PCU doesn't get an ACK for first DL block after IMM ASS, it