hs-test: added dry run mode
- DRYRUN=true will set up most containers. Some need to be started manually (curl, nginx...). The framework will create a vpp-config file with interface configs that will get executed on VPP startup. - set Ginkgo to use -v instead of -vv when running a single test - s.Log() now supports formatting - added 'useEnvVars' parameter to container.Exec Type: test Change-Id: Id1da7947a1448ee4b74b86cc4f243442256a5ba8 Signed-off-by: Adrian Villin <avillin@cisco.com>
This commit is contained in:

committed by
Florin Coras

parent
77ca487742
commit
2acdf1e629
@ -270,7 +270,7 @@ func (s *HstSuite) StartServerApp(c *Container, processName string, cmd string,
|
||||
running chan error, done chan struct{}) {
|
||||
|
||||
s.Log("starting server")
|
||||
c.ExecServer(cmd)
|
||||
c.ExecServer(true, cmd)
|
||||
cmd2 := exec.Command("docker", "exec", c.Name, "pidof", processName)
|
||||
err := cmd2.Run()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user