Skip to content

Commit

Permalink
add more debug log
Browse files Browse the repository at this point in the history
Signed-off-by: Guohan Lu <lguohan@gmail.com>
  • Loading branch information
lguohan committed Feb 14, 2021
1 parent 545d1c2 commit e287e7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/test-docker-sonic-vs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
docker ps
ip netns list
pushd tests
sudo py.test -v --force-flaky --junitxml=tr.xml --imgname=docker-sonic-vs:$(Build.DefinitionName).$(Build.BuildNumber)
sudo py.test -v --force-flaky --junitxml=tr.xml --imgname=docker-sonic-vs:$(Build.DefinitionName).$(Build.BuildNumber) test_virtual_chassis.py
displayName: "Run vs tests"
- task: PublishTestResults@2
Expand Down
3 changes: 2 additions & 1 deletion tests/test_virtual_chassis.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,9 @@ def test_chassis_system_neigh(self, vct):

# Check for presence of encap index, retrieve and store it for sync verification
test_neigh_entry = asic_db.wait_for_entry("ASIC_STATE:SAI_OBJECT_TYPE_NEIGHBOR_ENTRY", test_neigh)
print(test_neigh_entry)
encap_index = test_neigh_entry.get("SAI_NEIGHBOR_ENTRY_ATTR_ENCAP_INDEX")
assert encap_index != "", "VOQ encap index is not programmed in ASIC_DB"
assert encap_index != "" and encap_index != None, "VOQ encap index is not programmed in ASIC_DB"

break

Expand Down

0 comments on commit e287e7d

Please sign in to comment.