diff options
author | Florian Westphal <fw@strlen.de> | 2023-08-23 06:29:13 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-08-24 19:03:23 +0200 |
commit | 957b356e3bc94ff5721402e96ccfe3e8753e5768 (patch) | |
tree | 51047c8495dfcd994f2eec7cfd3a1ac495094ab5 /include/nftables | |
parent | f0d16340c282df779d30470598dbbd01427a636e (diff) |
tests: 30s-stress: add failslab and abort phase tests
Pablo suggested to also cover abort phase by intentionally deleting
non-existent or adding clashing keys.
While at it:
add rules with anon sets and jumps to anonymous chains and a few
constant sets.
Pick different key sizes so there is a higher chance kernel picks
different backend storages such as bitmap or hash_fast.
add failslab support, this also covers unlikely or "impossible" cases like
failing GFP_KERNEL allocations.
randomly spawn 'nft monitor' in the background for a random duration
to cover notification path.
Try to randomly delete a set or chain from control plane.
Randomly set a table as dormant (and back to normal).
Allow to pass the test runtime as argument, so one can now do
./30s-stress 3600
to have the test run for one hour.
For such long test durations, make sure the ruleset
gets regenerated periodically.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/nftables')
0 files changed, 0 insertions, 0 deletions