Messages in this thread | | | Subject | Re: [PATCH 11/11] selftests: net/fcnal: Reduce client timeout | From | David Ahern <> | Date | Wed, 6 Oct 2021 09:01:08 -0600 |
| |
On 10/6/21 5:47 AM, Leonard Crestez wrote: > Reduce default client timeout from 5 seconds to 500 miliseconds. > Can be overridden from environment by exporting NETTEST_CLIENT_TIMEOUT=5 > > Some tests need ICMP timeouts so pass an explicit -t5 for those. > > Signed-off-by: Leonard Crestez <cdleonard@gmail.com> > --- > tools/testing/selftests/net/fcnal-test.sh | 17 +++++++++++------ > 1 file changed, 11 insertions(+), 6 deletions(-) >
The problem with blindly reducing the timeouts is running the script on a loaded server. Some tests are expected to timeout while for tests a timeout is a failure.
| |