diff options
author | Maros Ondrejicka <mondreji@cisco.com> | 2023-02-07 20:40:27 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-02-10 05:23:32 +0000 |
commit | 7550dd268f80334cbb9127feefe35319b9c7e572 (patch) | |
tree | 08350b3d4dcf5453941312565c63303d95735903 /extras/hs-test/proxy_test.go | |
parent | 2908f8cf07c21f385f80d83fdad826a0eea98977 (diff) |
hs-test: refactor test cases from no-topo suite
This converts remaining tests to configation of VPP from test context.
Type: test
Change-Id: I386714f6b290e03d1757c2a033a25fae0340f5d6
Signed-off-by: Maros Ondrejicka <mondreji@cisco.com>
Diffstat (limited to 'extras/hs-test/proxy_test.go')
-rw-r--r-- | extras/hs-test/proxy_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hs-test/proxy_test.go b/extras/hs-test/proxy_test.go index 4c183517c37..d8918f1842b 100644 --- a/extras/hs-test/proxy_test.go +++ b/extras/hs-test/proxy_test.go @@ -35,7 +35,7 @@ func testProxyHttpTcp(s *NsSuite) error { " --retry-on-http-error=503 --tries=10"+ " -O %s %s:555/%s", outputFile, - clientVeth.Ip4AddressString(), + clientVeth.IP4AddressString(), srcFile, ) s.log(c) @@ -56,7 +56,7 @@ func configureVppProxy(s *NsSuite) error { testVppProxy := s.getContainerByName("vpp").vppInstance output := testVppProxy.vppctl( "test proxy server server-uri tcp://%s/555 client-uri tcp://%s/666", - clientVeth.Ip4AddressString(), + clientVeth.IP4AddressString(), serverVeth.PeerIp4AddressString(), ) s.log("proxy configured...", output) |