[PATCH 4.18 043/158] tc-testing: flush gact actions on test teardown