From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Thu, 14 Jan 2021 18:38:31 +0100 Subject: [LTP] [PATCH 1/1] if-mtu-change.sh: Lower CHANGE_INTERVAL to 1 In-Reply-To: <95ee938f-e045-4564-f6b2-952d54d2505b@oracle.com> References: <20210107120247.31465-1-pvorel@suse.cz> <95ee938f-e045-4564-f6b2-952d54d2505b@oracle.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it > On 14.01.2021 17:47, Petr Vorel wrote: > > Hi Alexey, > >> Hi Petr, > >> Do you mean "sleep $NS_DURATION" in mcast-pktfld02.sh is not needed > > Yes: sleep $NS_DURATION in mcast-pktfld02.sh and other mcast*.sh tests in: > > https://urldefense.com/v3/__https://patchwork.ozlabs.org/project/ltp/patch/20201125053459.3314021-2-lkml@jv-coder.de/__;!!GqivPVa7Brio!P0xbdqXlRQX7GPsKJmcPapdEOX5VV4OnkCKv-P9OqIWNcTvY9a9KXhOSjdJ1dKco5YbG$ > > https://urldefense.com/v3/__https://patchwork.ozlabs.org/project/ltp/patch/20201125053459.3314021-1-lkml@jv-coder.de/__;!!GqivPVa7Brio!P0xbdqXlRQX7GPsKJmcPapdEOX5VV4OnkCKv-P9OqIWNcTvY9a9KXhOSjdJ1dKjzIVpO$ > It's needed because the commands run in parallel in the background > during $NS_DURATION. Without it, the test terminates them all shortly > after starting. Thanks for info. Yes, that's right. I got confused, because on netns it's (at least on the default setup), that it passes even without sleep. Maybe we could remove it for netns. Kind regards, Petr