Skip to content

Commit

Permalink
tests: Add skip_upsupported to reuse dr test
Browse files Browse the repository at this point in the history
Add skip_upsupported to reuse dr test

Signed-off-by: Shachar Kagan <[email protected]>
Signed-off-by: Edward Srouji <[email protected]>
  • Loading branch information
ShacharKagan authored and EdwardSro committed Aug 1, 2023
1 parent 71e2ece commit 8b79085
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_mlx5_dr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1360,12 +1360,14 @@ def reuse_action_and_matcher(self, root_only=False):
matched_packets_rx = self.query_counter_packets(server_counter, rx_flow_counter_id)
self.assertEqual(matched_packets_rx, self.iters, 'Reuse action or matcher failed on RX')

@skip_unsupported
def test_root_reuse_action_and_matcher(self):
"""
Create root rules on TX and RX that use the same matcher and actions
"""
self.reuse_action_and_matcher(root_only=True)

@skip_unsupported
def test_reuse_action_and_matcher(self):
"""
Create non-root rules on TX and RX that use the same matcher and actions
Expand Down

0 comments on commit 8b79085

Please sign in to comment.