[Fuego] [PATCH] iperf3: start the server when the container starts

Daniel Sangorrin daniel.sangorrin at toshiba.co.jp
Fri Mar 9 05:30:50 UTC 2018


We start the iperf3 server here instead of in fuego_test.sh
to avoid killing the server when the test finishes. Killing
the server could cause race conditions for other boards
waiting to run their iperf3 clients against it.

Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index f918ff7..79bcfa3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -136,4 +136,4 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -yV install crossbuild-essential-armh
 # Setup startup command
 # ==============================================================================
 
-ENTRYPOINT service jenkins start && service netperf start && /bin/bash
+ENTRYPOINT service jenkins start && service netperf start && iperf3 -V -s -D -f M && /bin/bash
-- 
2.7.4




More information about the Fuego mailing list