Skip to content

Commit

Permalink
Add topology checks
Browse files Browse the repository at this point in the history
  • Loading branch information
anish-n committed Jun 18, 2020
1 parent 361ce00 commit 3214e86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ecmp/test_fgnhg.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ def fg_ecmp_ipv4(ptfhost, duthost, router_mac, net_ports, port_list, ip_to_port,

@pytest.mark.bsl
def test_fg_ecmp(ansible_adhoc, testbed, ptfadapter, duthost, ptfhost):
if testbed['topo']['name'] != 't0':
pytest.skip("Unsupported topology")

host_facts = duthost.setup()['ansible_facts']
mg_facts = duthost.minigraph_facts(host=duthost.hostname)['ansible_facts']
Expand Down

0 comments on commit 3214e86

Please sign in to comment.