Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .azure-pipelines/pr_test_scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ onboarding_t0:
- clock/test_clock.py
- generic_config_updater/test_dynamic_acl.py
- generic_config_updater/test_pfcwd_status.py
- generic_config_updater/test_pg_headroom_update.py
- mvrf/test_mgmtvrf.py
- pc/test_lag_member.py
- pfcwd/test_pfc_config.py
Expand All @@ -333,6 +332,12 @@ onboarding_t0:
- test_pktgen.py
- arp/test_unknown_mac.py
- hash/test_generic_hash.py
- dualtor/test_orchagent_active_tor_downstream.py
- dualtor/test_orchagent_mac_move.py
- dualtor/test_orchagent_standby_tor_downstream.py
- dualtor/test_standby_tor_upstream_mux_toggle.py
Copy link
Contributor

@xwjiang-ms xwjiang-ms Jul 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to sync with latest master, these dualtor scripts were moved in to t0 job

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to sync with latest master, these dualtor scripts were put in to t0 job

Sure

- generic_config_updater/test_pg_headroom_update.py


onboarding_t1:
- generic_config_updater/test_cacl.py
Expand Down
4 changes: 2 additions & 2 deletions tests/generic_config_updater/test_pg_headroom_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from tests.generic_config_updater.gu_utils import apply_patch, expect_op_success, expect_op_failure
from tests.generic_config_updater.gu_utils import generate_tmpfile, delete_tmpfile
from tests.generic_config_updater.gu_utils import create_checkpoint, delete_checkpoint, rollback_or_reload
from tests.generic_config_updater.gu_utils import is_valid_platform_and_version
from tests.generic_config_updater.gu_utils import is_valid_platform_and_version, get_asic_name

pytestmark = [
pytest.mark.topology('any'),
Expand Down Expand Up @@ -79,7 +79,7 @@ def _confirm_value_in_app_and_asic_db():

@pytest.mark.parametrize("operation", ["replace"])
def test_pg_headroom_update(duthost, ensure_dut_readiness, operation, skip_when_buffer_is_dynamic_model):
asic_type = duthost.get_asic_name()
asic_type = get_asic_name(duthost)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sonic-cfggen -d -v DEVICE_METADATA.localhost.hwsku on vs seems to be recognized as Force10-S6000 which leads to td2. May be we can add a comment?

pytest_require("td2" not in asic_type, "PG headroom should be skipped on TD2")
tmpfile = generate_tmpfile(duthost)

Expand Down