Skip to content
Commit 611c68be authored by Peter Hoyes's avatar Peter Hoyes Committed by Diego Sueiro
Browse files

yocto/safety_island: Fix race condition in Zephyr client tests



In the Zephyr client HIPC tests the client is being launched immediately after
the server. This means that the server may not have fully started before the
client sends its first packet (depending on the relative performance of the
Primary Compute and the Safety Island in the model). This has led to
intermittent UDP packet loss and TCP connection issues under test.

Fix this issue by waiting for the server to printed "Server listening..."
before attempting to start the client, in both the Zephyr UDP and TCP client
tests.

Issue-Id: SCM-5864
Signed-off-by: Tomás Agustín González Orlando's avatarTomás González <tomasagustin.gonzalezorlando@arm.com>
Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I3ace5ecb066e4fb6874cfc82806106c557d11cb8
parent 43c3272b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment