blob: 1b24e08466d724bdc7c2b2d6cc918786a0f355bd [file] [log] [blame]
package main
func (s *VethsSuite) TestEchoBuiltin() {
serverVpp := s.getContainerByName("server-vpp").vppInstance
serverVeth := s.veths["vppsrv"]
_, err := serverVpp.vppctl("test echo server " +
" private-segment-size 1g fifo-size 4 no-echo" +
" uri tcp://" + serverVeth.Address() + "/1234")
s.assertNil(err)
clientVpp := s.getContainerByName("client-vpp").vppInstance
o, err := clientVpp.vppctl("test echo client nclients 10000 bytes 1" +
" syn-timeout 100 test-timeout 100 no-return private-segment-size 1g" +
" fifo-size 4 uri tcp://" + serverVeth.Address() + "/1234")
s.assertNil(err)
s.log(o)
}