jolly has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42646?usp=email )

Change subject: Fix bankd connection at 
RemsimClient_Tests.TC_bank_disconnect_reconnect
......................................................................

Fix bankd connection at RemsimClient_Tests.TC_bank_disconnect_reconnect

After each connection (initial connection and reconnect), the test must
wait for the bankd connection to be fully established. Previously the
IPA/RSPRO emulation failed, because the socket was closed before sending
the acknowledgemen, leading to a 'Broken pipe' error.

Change-Id: I0a8b339bcc4136442994b8825904df8aaf9aa95d
---
M remsim/RemsimClient_Tests.ttcn
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  jolly: Looks good to me, approved
  laforge: Looks good to me, but someone else must approve
  osmith: Looks good to me, but someone else must approve




diff --git a/remsim/RemsimClient_Tests.ttcn b/remsim/RemsimClient_Tests.ttcn
index d747eef..5d6db82 100644
--- a/remsim/RemsimClient_Tests.ttcn
+++ b/remsim/RemsimClient_Tests.ttcn
@@ -170,6 +170,7 @@
        /* expect inbound connectClientReq on simulated bankd */
        as_connectClientReq(i := 1);

+       /* Wait for bankd connection to be established. */
        f_sleep(1.0);

        /* configure client to disconnect from [simulated] bankd */
@@ -190,6 +191,9 @@
        /* expect inbound connect on simulated bankd */
        as_connectClientReq(i := 1);

+       /* Wait for bankd connection to be established. */
+       f_sleep(1.0);
+
        setverdict(pass);
 }


--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42646?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I0a8b339bcc4136442994b8825904df8aaf9aa95d
Gerrit-Change-Number: 42646
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>

Reply via email to