selftests: netfilter: nft_flowtable.sh: bump socat timeout to 1m
authorFlorian Westphal <fw@strlen.de>
Sat, 11 May 2024 06:48:03 +0000 (08:48 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 13 May 2024 21:36:26 +0000 (14:36 -0700)
commit5fcc17dfe05e127a38d24b0e5bf93aaba01fdddc
tree279aefed84e60b58f057fc4ea95f69730cb779e6
parentcfc2eefd40f1bc121a41a2acd54458046d77f9ae
selftests: netfilter: nft_flowtable.sh: bump socat timeout to 1m

Now that this test runs in netdev CI it looks like 10s isn't enough
for debug kernels:
  selftests: net/netfilter: nft_flowtable.sh
  2024/05/10 20:33:08 socat[12204] E write(7, 0x563feb16a000, 8192): Broken pipe
  FAIL: file mismatch for ns1 -> ns2
  -rw------- 1 root root 37345280 May 10 20:32 /tmp/tmp.Am0yEHhNqI
 ...

Looks like socat gets zapped too quickly, so increase timeout to 1m.

Could also reduce tx file size for KSFT_MACHINE_SLOW, but its preferrable
to have same test for both debug and nondebug.

Signed-off-by: Florian Westphal <fw@strlen.de>
Link: https://lore.kernel.org/r/20240511064814.561525-1-fw@strlen.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/netfilter/nft_flowtable.sh