Skip to content

Commit

Permalink
[vstest]: add testlog for vstests (sonic-net#2247)
Browse files Browse the repository at this point in the history
Signed-off-by: Guohan Lu <gulv@microsoft.com>
  • Loading branch information
lguohan authored Nov 10, 2018
1 parent 8de5aad commit c038626
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 255 deletions.
2 changes: 1 addition & 1 deletion platform/vs/tests/bgp/test_invalid_nexthop.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import time
import json

def test_InvalidNexthop(dvs):
def test_InvalidNexthop(dvs, testlog):

dvs.copy_file("/etc/quagga/", "bgp/files/invalid_nexthop/bgpd.conf")
dvs.runcmd("supervisorctl start bgpd")
Expand Down
2 changes: 1 addition & 1 deletion platform/vs/tests/bgp/test_no_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import time
import json

def test_bounce(dvs):
def test_bounce(dvs, testlog):
dvs.servers[0].runcmd("pkill -f exabgp")
dvs.copy_file("/etc/quagga/", "bgp/files/no_export/bgpd.conf")
dvs.runcmd("supervisorctl start bgpd")
Expand Down
252 changes: 0 additions & 252 deletions platform/vs/tests/conftest.py

This file was deleted.

1 change: 1 addition & 0 deletions platform/vs/tests/conftest.py
2 changes: 1 addition & 1 deletion platform/vs/tests/teamd/test_portchannel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import re
import json

def test_PortChannel(dvs):
def test_PortChannel(dvs, testlog):
appldb = swsscommon.DBConnector(0, dvs.redis_sock, 0)
statdb = swsscommon.DBConnector(6, dvs.redis_sock, 0)

Expand Down

0 comments on commit c038626

Please sign in to comment.