diff options
Diffstat (limited to 'extras/hs-test/echo_test.go')
-rw-r--r-- | extras/hs-test/echo_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hs-test/echo_test.go b/extras/hs-test/echo_test.go index 160613742f2..8dd620a336a 100644 --- a/extras/hs-test/echo_test.go +++ b/extras/hs-test/echo_test.go @@ -2,7 +2,7 @@ package main func (s *VethsSuite) TestEchoBuiltin() { serverVpp := s.getContainerByName("server-vpp").vppInstance - serverVeth := s.netInterfaces["vppsrv"] + serverVeth := s.netInterfaces[serverInterfaceName] serverVpp.vppctl("test echo server " + " uri tcp://" + serverVeth.ip4AddressString() + "/1234") @@ -33,7 +33,7 @@ func (s *VethsSuite) TestTcpWithLoss() { clientVpp.vppctl("set nsim poll-main-thread delay 0.01 ms bandwidth 40 gbit" + " packet-size 1400 packets-per-drop 1000") - clientVpp.vppctl("nsim output-feature enable-disable host-vppcln") + clientVpp.vppctl("nsim output-feature enable-disable " + s.netInterfaces[clientInterfaceName].name) // Do echo test from client-vpp container output := clientVpp.vppctl("test echo client uri tcp://%s/20022 verbose echo-bytes mbytes 50", |