hs-test: fix wait for app after ldp change
After gerrit 38370 (729b9c94), apps are registered via ldp using program name. Update tests to support that. Also add make file help for UNCONFIGURE. Type: test Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I4ad50abfd175664b47b358df1a72e0758f51190d
This commit is contained in:
Florin Coras
committed by
Florin Coras
parent
3d6156fed8
commit
e2415f79f7
@ -32,6 +32,7 @@ help:
|
||||
@echo " UBUNTU_VERSION - ubuntu version for docker image"
|
||||
@echo " PERSIST=[true|false] - whether clean up topology and dockers after test"
|
||||
@echo " VERBOSE=[true|false] - verbose output"
|
||||
@echo " UNCONFIGURE=[true|false] - unconfigure selected test"
|
||||
@echo " TEST=[test-name] - specific test to run"
|
||||
@echo
|
||||
@echo "List of all tests:"
|
||||
|
@ -48,7 +48,7 @@ func (s *NoTopoSuite) TestNginxAsServer() {
|
||||
s.assertNil(nginxCont.run())
|
||||
|
||||
vpp := s.getContainerByName("vpp").vppInstance
|
||||
vpp.waitForApp("-app", 5)
|
||||
vpp.waitForApp("nginx-", 5)
|
||||
|
||||
serverAddress := s.netInterfaces[tapInterfaceName].Peer().IP4AddressString()
|
||||
|
||||
@ -85,7 +85,7 @@ func runNginxPerf(s *NoTopoSuite, mode, ab_or_wrk string) error {
|
||||
|
||||
nginxCont := s.getContainerByName("nginx")
|
||||
s.assertNil(nginxCont.run())
|
||||
vpp.waitForApp("-app", 5)
|
||||
vpp.waitForApp("nginx-", 5)
|
||||
|
||||
cmd := exec.Command(exeName, args...)
|
||||
s.log(cmd)
|
||||
|
@ -60,5 +60,5 @@ func (s *NginxSuite) SetupTest() {
|
||||
)
|
||||
nginxContainer.start()
|
||||
|
||||
proxyVpp.waitForApp("-app", 5)
|
||||
proxyVpp.waitForApp("nginx-", 5)
|
||||
}
|
||||
|
Reference in New Issue
Block a user