Skip to content

Commit 9005962

Browse files
Shuotian Chenglguohan
Shuotian Cheng
authored andcommitted
[vstest]: Update the mirror session state table name (#917)
Due to the change c033b23 Fix MIRROR_SESSION table macro name (#802) Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
1 parent 3e8ad15 commit 9005962

3 files changed

+3
-3
lines changed

tests/test_mirror.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def get_mirror_session_status(self, name):
9696
return self.get_mirror_session_state(name)["status"]
9797

9898
def get_mirror_session_state(self, name):
99-
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION")
99+
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION_TABLE")
100100
(status, fvs) = tbl.get(name)
101101
assert status == True
102102
assert len(fvs) > 0

tests/test_mirror_ipv6_combined.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def get_mirror_session_status(self, name):
9898
return self.get_mirror_session_state(name)["status"]
9999

100100
def get_mirror_session_state(self, name):
101-
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION")
101+
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION_TABLE")
102102
(status, fvs) = tbl.get(name)
103103
assert status == True
104104
assert len(fvs) > 0

tests/test_mirror_ipv6_separate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def get_mirror_session_status(self, name):
9292
return self.get_mirror_session_state(name)["status"]
9393

9494
def get_mirror_session_state(self, name):
95-
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION")
95+
tbl = swsscommon.Table(self.sdb, "MIRROR_SESSION_TABLE")
9696
(status, fvs) = tbl.get(name)
9797
assert status == True
9898
assert len(fvs) > 0

0 commit comments

Comments
 (0)