Skip to content

Commit

Permalink
Add support for selected multiple tests
Browse files Browse the repository at this point in the history
Signed-off-by: Dante Su <[email protected]>
  • Loading branch information
ds952811 committed Jun 28, 2022
1 parent f67e776 commit 8e2f7a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,8 @@ def __init__(

def create_servers(self):
for i in range(NUM_PORTS):
server = VirtualServer(self.ctn_sw.name, self.ctn_sw_pid, i)
name = self.ctn_sw.name if hasattr(self, 'ctn_sw') else self.dvsname
server = VirtualServer(name, self.ctn_sw_pid, i)
self.servers.append(server)

def reset_dbs(self):
Expand Down

0 comments on commit 8e2f7a4

Please sign in to comment.