Skip to content

Commit

Permalink
[vstest]: Update the mirror session state table name (#917)
Browse files Browse the repository at this point in the history
Due to the change

c033b23
Fix MIRROR_SESSION table macro name (#802)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
  • Loading branch information
Shuotian Cheng authored and lguohan committed May 30, 2019
1 parent 3e8ad15 commit 9005962
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get_mirror_session_status(self, name):
return self.get_mirror_session_state(name)["status"]

def get_mirror_session_state(self, name):
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION")
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION_TABLE")
(status, fvs) = tbl.get(name)
assert status == True
assert len(fvs) > 0
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mirror_ipv6_combined.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def get_mirror_session_status(self, name):
return self.get_mirror_session_state(name)["status"]

def get_mirror_session_state(self, name):
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION")
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION_TABLE")
(status, fvs) = tbl.get(name)
assert status == True
assert len(fvs) > 0
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mirror_ipv6_separate.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_mirror_session_status(self, name):
return self.get_mirror_session_state(name)["status"]

def get_mirror_session_state(self, name):
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION")
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION_TABLE")
(status, fvs) = tbl.get(name)
assert status == True
assert len(fvs) > 0
Expand Down

0 comments on commit 9005962

Please sign in to comment.