Updating hwintf test to call host.stop()

host.terminate() does not remove the interfaces
This commit is contained in:
Brian O'Connor
2017-01-12 16:11:24 -08:00
parent 9376ccbedd
commit 0b2d8461fd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ before_install:
- sudo apt-get install -qq vlan
install:
- sudo util/install.sh -a
- sudo util/install.sh -fnvw
script:
- sudo mn --test pingall
+2 -2
View File
@@ -57,8 +57,8 @@ class testHwintf( unittest.TestCase ):
p.wait()
def tearDown( self ):
self.h3.terminate()
self.n0.terminate()
self.h3.stop( deleteIntfs=True )
self.n0.stop( deleteIntfs=True )
if __name__ == '__main__':
setLogLevel( 'warning' )