diff options
Diffstat (limited to 'extras/hs-test/suite_no_topo_test.go')
-rw-r--r-- | extras/hs-test/suite_no_topo_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/hs-test/suite_no_topo_test.go b/extras/hs-test/suite_no_topo_test.go index 97e5ca4f416..bbf0cfda685 100644 --- a/extras/hs-test/suite_no_topo_test.go +++ b/extras/hs-test/suite_no_topo_test.go @@ -1,9 +1,9 @@ package main const ( - singleTopoContainerVpp = "vpp" - singleTopoContainerNginx = "nginx" - tapInterfaceName = "htaphost" + singleTopoContainerVpp = "vpp" + singleTopoContainerNginx = "nginx" + tapInterfaceName = "htaphost" ) type NoTopoSuite struct { @@ -31,7 +31,7 @@ func (s *NoTopoSuite) SetupTest() { vpp, _ := container.newVppInstance(cpus, sessionConfig) s.assertNil(vpp.start()) - tapInterface := s.netInterfaces[tapInterfaceName] + tapInterface := s.getInterfaceByName(tapInterfaceName) s.assertNil(vpp.createTap(tapInterface), "failed to create tap interface") } |