]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: Fix bogus testsuite failure with 250Hz
authorPhil Sutter <phil@nwl.cc>
Tue, 2 Nov 2021 19:53:53 +0000 (20:53 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 2 Nov 2021 20:26:43 +0000 (21:26 +0100)
commita39b9a7af845ddd97b78b285780c67042d24950d
treeda178de2cbf43a97f4580b7179abffaeb9305c17
parent510c4fad7e78f9350f492463d68899a6154807d3
tests: shell: Fix bogus testsuite failure with 250Hz

Previous fix for HZ=100 was not sufficient, a kernel with HZ=250 rounds
the 10ms to 8ms it seems. Do as Lukas suggests and accept the occasional
input/output asymmetry instead of continuing the hide'n'seek game.

Fixes: c9c5b5f621c37 ("tests: shell: Fix bogus testsuite failure with 100Hz")
Suggested-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/sets/0031set_timeout_size_0