<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in settings</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>365836e0 - tests: hsr: Increase timeout to 50 seconds</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/net/hsr/settings#365836e0</link>
        <description>tests: hsr: Increase timeout to 50 secondsThe HSR test, hsr_ping.sh, actually needs 7 min to run. Around 375s tobe exact, and even more on a debug kernel or kernel with other networksecurity limits. The timeout setting for the kselftest is currently 45seconds, which is way too short to integrate hsr tests to run_kselftestinfrastructure. However, timeout of hundreds of seconds is quite a longtime, especially in a CI/CD environment. It seems that we needaccelerate the test and balance with timeout setting.The most time-consuming func is do_ping_long, where ping command sends10 packages to the given address. The default interval between two pingpackages is 1s according to the ping Mannual. There isn&apos;t any operationbetween pings thus we could pass -i 0.1 to ping to make it 10 timesfaster.While even with this short interval, the test still need about 46.4seconds to finish because of the two HSR interfaces, each of which istested by calling do_ping func 12 times and do_ping_long func 19 timesand sleep for 3s.So, an explicit setting is also needed to slightly increase thetimeout. And to leave us some slack, use 50 as default timeout.Signed-off-by: Yunshui Jiang &lt;jiangyunshui@kylinos.cn&gt;Link: https://patch.msgid.link/20241028082757.2945232-1-jiangyunshui@kylinos.cnSigned-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/net/hsr/settings</description>
        <pubDate>Mon, 28 Oct 2024 08:27:56 +0000</pubDate>
        <dc:creator>Yunshui Jiang &lt;jiangyunshui@kylinos.cn&gt;</dc:creator>
    </item>
</channel>
</rss>
