This website requires JavaScript.
Explore
Help
Sign in
kybaaz
/
linux-xiaomi-chiron
Watch
1
Star
0
Fork
You've already forked linux-xiaomi-chiron
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
3ea8e52ec9
linux-xiaomi-chiron
/
tools
/
testing
/
selftests
/
net
/
settings
2 lines
13 B
Text
Raw
Normal View
History
Unescape
Escape
kselftests/net: adapt the timeout to the largest runtime timeout in settings is used by each case under the same directory, so it should adapt to the maximum runtime. A normally running net/fib_nexthops.sh may be killed by this unsuitable timeout. Furthermore, since the defect[1] of kselftests framework, net/fib_nexthops.sh which might take at least (300 * 4) seconds would block the whole kselftests framework previously. $ git grep -w 'sleep 300' tools/testing/selftests/net tools/testing/selftests/net/fib_nexthops.sh: sleep 300 tools/testing/selftests/net/fib_nexthops.sh: sleep 300 tools/testing/selftests/net/fib_nexthops.sh: sleep 300 tools/testing/selftests/net/fib_nexthops.sh: sleep 300 Enlarge the timeout by plus 300 based on the obvious largest runtime to avoid the blocking. [1]: https://www.spinics.net/lists/kernel/msg4185370.html Signed-off-by: Zhou Jie <zhoujie2011@fujitsu.com> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2022-01-13 15:28:59 +08:00
timeout=1500
Reference in a new issue
Copy permalink