hs-test: replaced container/interface getter func 04/41904/4
authorAdrian Villin <[email protected]>
Mon, 9 Dec 2024 13:18:31 +0000 (14:18 +0100)
committerFlorin Coras <[email protected]>
Wed, 11 Dec 2024 17:47:04 +0000 (17:47 +0000)
commitaf5fcbfa713ca3693ee9d28354fe004b76f74d6a
treedaeff93cee05a340586e69f73bc834141967b6a1
parentfb8f51697c748d28d4b542554a96a83ab74f6678
hs-test: replaced container/interface getter func

- replaced s.GetContainerByName("xyz") with s.Containers.Xyz in tests
  and suites
- same thing for interfaces
- each suite has its own structs with containers/interfaces
- structs are initialized in SetupSuite

Type: test

Change-Id: I5bd99605b40921b7b8c844e8650f6fb0915e9e99
Signed-off-by: Adrian Villin <[email protected]>
22 files changed:
extras/hs-test/cpu_pinning_test.go
extras/hs-test/echo_test.go
extras/hs-test/http_test.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_iperf_linux.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/suite_vpp_udp_proxy.go
extras/hs-test/infra/utils.go
extras/hs-test/iperf_linux_test.go
extras/hs-test/ldp_test.go
extras/hs-test/mem_leak_test.go
extras/hs-test/nginx_test.go
extras/hs-test/proxy_test.go
extras/hs-test/raw_session_test.go
extras/hs-test/topo-containers/vppProxy.yaml
extras/hs-test/vcl_test.go