Skip to content

Commit

Permalink
Do not disable log analyzer and get rid of not needed check
Browse files Browse the repository at this point in the history
  • Loading branch information
MariuszStachura committed Sep 2, 2022
1 parent 0b8c13c commit cbc3949
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/qos/test_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def _fetch_size_difference_for_8lane_ports(duthost, conn_graph_facts):
duthost.shell('redis-cli hget "BUFFER_POOL_TABLE:ingress_lossless_pool" size')['stdout'],
duthost.shell('redis-cli hget "BUFFER_POOL_TABLE:ingress_lossless_pool" xoff')['stdout'],
get_pool_size_from_asic_db(duthost, ingress_lossless_pool_oid))
if DEFAULT_OVER_SUBSCRIBE_RATIO or duthost.facts['asic_type'] in ['barefoot'] else
if DEFAULT_OVER_SUBSCRIBE_RATIO else
"Pool size isn't correct in database: expected {}, size in APPL_DB pool {}, size in ASIC_DB {}".format(
expected_pool_size,
duthost.shell('redis-cli hget "BUFFER_POOL_TABLE:ingress_lossless_pool" size')['stdout'],
Expand Down Expand Up @@ -1889,7 +1889,6 @@ def _check_buffer_object_list_aligns_with_expected_ones(port_to_test, table, exp
ensure_pool_size(duthost, 60, original_pool_size, original_shp_size, None)


@pytest.mark.disable_loganalyzer
def test_port_auto_neg(duthosts, rand_one_dut_hostname, conn_graph_facts, port_to_test):
"""The test case for auto negotiation enabled ports
Expand Down

0 comments on commit cbc3949

Please sign in to comment.