diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2022-11-22 12:49:22 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-11-25 00:37:20 +0000 |
commit | 1a9dc75fe8099fdde9b1dd248a8fca35b001f9fc (patch) | |
tree | 729ad4b6b531ca3905434e1cbb4a950fff18dad6 /extras/hs-test/http_test.go | |
parent | b79d09bbfa93f0f752f7249ad27a08eae0863a6b (diff) |
hs-test: auto register test actions
Type: improvement
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: Icb5db6f69eda93181aba69b1f8676a73c0a4561b
Diffstat (limited to 'extras/hs-test/http_test.go')
-rwxr-xr-x | extras/hs-test/http_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extras/hs-test/http_test.go b/extras/hs-test/http_test.go index fbbd64aa31e..bd93736376d 100755 --- a/extras/hs-test/http_test.go +++ b/extras/hs-test/http_test.go @@ -23,7 +23,7 @@ func (s *NsSuite) TestHttpTps() { defer func() { exechelper.Run("docker stop " + dockerInstance) }() // start & configure vpp in the container - _, err = hstExec(dockerInstance, dockerInstance) + _, err = hstExec("ConfigureHttpTps", dockerInstance) if err != nil { t.Errorf("%v", err) return @@ -56,13 +56,13 @@ func (s *Veths2Suite) TestHttpCli() { } defer func() { exechelper.Run("docker stop " + clnInstance) }() - _, err = hstExec("2veths srv", srvInstance) + _, err = hstExec("Configure2Veths srv", srvInstance) if err != nil { t.Errorf("%v", err) return } - _, err = hstExec("2veths cln", clnInstance) + _, err = hstExec("Configure2Veths cln", clnInstance) if err != nil { t.Errorf("%v", err) return @@ -70,7 +70,7 @@ func (s *Veths2Suite) TestHttpCli() { t.Log("configured IPs...") - _, err = hstExec("http-cli-srv", srvInstance) + _, err = hstExec("RunHttpCliSrv", srvInstance) if err != nil { t.Errorf("%v", err) return @@ -78,7 +78,7 @@ func (s *Veths2Suite) TestHttpCli() { t.Log("configured http server") - o, err := hstExec("http-cli-cln /show/version", clnInstance) + o, err := hstExec("RunHttpCliCln /show/version", clnInstance) if err != nil { t.Errorf("%v", err) return |