Skip to content

Commit 0317c62

Browse files
congh-nvidiamssonicbld
authored andcommitted
Skip dscp 2 and 6 in test test_tunnel_decap_dscp_to_queue_mapping (#10419)
For Nvidia platforms, the inner dscp 2 and 6 are considered invalid use cases, skip the test.
1 parent 3601e68 commit 0317c62

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/qos/test_tunnel_qos_remap.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ def test_tunnel_decap_dscp_to_queue_mapping(ptfhost, rand_selected_dut, rand_uns
201201
try:
202202
# Walk through all DSCP values
203203
for inner_dscp in range(0, 64):
204+
# For Nvidia platforms, the inner dscp 2 and 6 are considered invalid use cases, skip the test
205+
if 'mellanox' == rand_selected_dut.facts["asic_type"] and inner_dscp in [2, 6]:
206+
continue
204207
outer_dscp = tunnel_qos_maps['inner_dscp_to_outer_dscp_map'][inner_dscp]
205208
_, exp_packet = build_testing_packet(src_ip=DUMMY_IP,
206209
dst_ip=dualtor_meta['target_server_ip'],

0 commit comments

Comments
 (0)