diff options
author | 2024-09-25 14:49:11 +0200 | |
---|---|---|
committer | 2024-10-10 15:50:15 +0000 | |
commit | 2acdf1e629a0e5463ed6820b9de4ae5ab7101cf6 (patch) | |
tree | c4a31f7720046076b01529308cf8afc50b124ed5 /extras/hs-test/infra/utils.go | |
parent | 77ca487742310e4cdab5cad134de408b755e388b (diff) |
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>
Diffstat (limited to 'extras/hs-test/infra/utils.go')
-rw-r--r-- | extras/hs-test/infra/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/infra/utils.go b/extras/hs-test/infra/utils.go index a32acb30193..c5e5cc7cdc5 100644 --- a/extras/hs-test/infra/utils.go +++ b/extras/hs-test/infra/utils.go @@ -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 { |