X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fhs-test%2Fsuite_no_topo_test.go;h=bbf0cfda68502a36d5142f1637267b57bad98091;hb=refs%2Fchanges%2F88%2F39988%2F11;hp=97e5ca4f416a68bac38378f9d350ddb00f584d8f;hpb=7a2961523ef6d58d718a9efb7809a212bb0b58b1;p=vpp.git 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") }