[ACL] Correct rule ID used to check ACL counter in teardown phase.#2124
[ACL] Correct rule ID used to check ACL counter in teardown phase.#2124shihhsien-wang wants to merge 1 commit intosonic-net:masterfrom shihhsien-wang:master
Conversation
|
@shihhsien-wang Which topology was used in your testing, "t1" or "t1-lag"? |
The problem occurred in both t1 and t1-lag because it just checks the wrong received counter of the match rules in teardown phase. Thanks. |
|
Are you using the latest code? The ACL testing is passing from our side. |
At the time of submitting ticket, Yes. |
- What I did
Correct rule ID used to check ACL counter in teardown phase. Without the modification, counter sanity check in teardown phase will fail, because pytest check wrong ACL rule counter.
- How I did it
According to rules listed in
tests/acl/templates/acltb_test_rules.j2, we verify test cases one by one and fix five following test cases:- How to verify it
Before modification:
After modification: