<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 07/21/2017 07:03 AM, Petr Vorel wrote:<br>
    <blockquote cite="mid:20170721040407.868-4-pvorel@suse.cz"
      type="cite">
      <pre wrap="">Signed-off-by: Petr Vorel <a class="moz-txt-link-rfc2396E" href="mailto:pvorel@suse.cz"><pvorel@suse.cz></a>
---
 testcases/network/stress/interface/if-addr-adddel    | 6 +-----
 testcases/network/stress/interface/if-addr-addlarge  | 6 +-----
 testcases/network/stress/interface/if-mtu-change     | 7 ++-----
 testcases/network/stress/interface/if-route-adddel   | 7 ++-----
 testcases/network/stress/interface/if-route-addlarge | 6 +-----
 testcases/network/stress/ns-tools/test_net_stress.sh | 2 ++
 6 files changed, 9 insertions(+), 25 deletions(-)

diff --git a/testcases/network/stress/interface/if-addr-adddel b/testcases/network/stress/interface/if-addr-adddel
index 42c2d5afa..3b1ab50bb 100644
--- a/testcases/network/stress/interface/if-addr-adddel
+++ b/testcases/network/stress/interface/if-addr-adddel
@@ -53,10 +53,9 @@ test_body()
                return
        fi
 
-       make_background_tcp_traffic
-
        local cnt=1
        while [ $cnt -le $NS_TIMES ]; do
+               make_background_tcp_traffic
 
                case $cmd_type in
                if_cmd)
@@ -85,9 +84,6 @@ test_body()
 
                cnt=$(($cnt + 1))
 
-               # Check the background TCP traffic
-               pgrep -x netstress > /dev/null || make_background_tcp_traffic</pre>
    </blockquote>
    <br>
    <br>
    Does 'make_background_tcp_traffic()' function check that background
    traffic is not running already?<br>
    <br>
    <br>
    Thanks,<br>
    Alexey<br>
  </body>
</html>