Skip to content

Commit

Permalink
tc-testing: flush gact actions on test teardown
Browse files Browse the repository at this point in the history
Test 6fb4 creates one mirred and one pipe action, but only flushes mirred
on teardown. Leaking pipe action causes failures in other tests.

Add additional teardown command to also flush gact actions.

Signed-off-by: Vlad Buslov <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
w1ldptr authored and davem330 committed Aug 6, 2018
1 parent 64f61cd commit 0c62f8a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"matchPattern": "action order [0-9]*: mirred \\(Egress Redirect to device lo\\).*index 2 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action mirred"
"$TC actions flush action mirred",
"$TC actions flush action gact"
]
},
{
Expand Down

0 comments on commit 0c62f8a

Please sign in to comment.