hs-test: added dry run mode 34/41434/13
authorAdrian Villin <avillin@cisco.com>
Wed, 25 Sep 2024 12:49:11 +0000 (14:49 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Thu, 10 Oct 2024 15:50:15 +0000 (15:50 +0000)
commit2acdf1e629a0e5463ed6820b9de4ae5ab7101cf6
treec4a31f7720046076b01529308cf8afc50b124ed5
parent77ca487742310e4cdab5cad134de408b755e388b
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>
18 files changed:
extras/hs-test/Makefile
extras/hs-test/framework_test.go
extras/hs-test/hs_test.sh
extras/hs-test/http_test.go
extras/hs-test/infra/container.go
extras/hs-test/infra/hst_suite.go
extras/hs-test/infra/suite_cpu_pinning.go
extras/hs-test/infra/suite_envoy_proxy.go
extras/hs-test/infra/suite_ldp.go
extras/hs-test/infra/suite_nginx_proxy.go
extras/hs-test/infra/suite_no_topo.go
extras/hs-test/infra/suite_veth.go
extras/hs-test/infra/suite_vpp_proxy.go
extras/hs-test/infra/utils.go
extras/hs-test/infra/vppinstance.go
extras/hs-test/raw_session_test.go
extras/hs-test/script/compress.sh
extras/hs-test/vcl_test.go