summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/vcl_test.go
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2023-01-09 12:07:09 +0100
committerFilip Tehlar <ftehlar@cisco.com>2023-01-09 12:14:23 +0100
commitf3ee2b636ad3b12e7484ec6fb13f220699417046 (patch)
tree20a2f6a1a0b42d0306e947b9b19f6861df5dbb92 /extras/hs-test/vcl_test.go
parentc204c87c186993704927beffa4d5b1cafaf9a193 (diff)
hs-test: fix code style
This will add a new target (fixstyle) to Makefile that runs gofmt tool. Type: style Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: Icba60633f82aa8bbc75749f080e00f0375b55a18
Diffstat (limited to 'extras/hs-test/vcl_test.go')
-rwxr-xr-xextras/hs-test/vcl_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/extras/hs-test/vcl_test.go b/extras/hs-test/vcl_test.go
index 5a5ba06bebc..f4273c87b14 100755
--- a/extras/hs-test/vcl_test.go
+++ b/extras/hs-test/vcl_test.go
@@ -32,12 +32,12 @@ func (s *VethsSuite) testVclEcho(proto string) {
echoSrvContainer := s.getContainerByName("server-application")
// run server app
- _, err = echoSrvContainer.execAction("RunEchoServer "+proto)
+ _, err = echoSrvContainer.execAction("RunEchoServer " + proto)
s.assertNil(err)
echoClnContainer := s.getContainerByName("client-application")
- o, err := echoClnContainer.execAction("RunEchoClient "+proto)
+ o, err := echoClnContainer.execAction("RunEchoClient " + proto)
s.assertNil(err)
s.log(o)
@@ -60,13 +60,13 @@ func (s *VethsSuite) testRetryAttach(proto string) {
s.assertNil(err)
echoSrvContainer := s.getContainerByName("server-application")
- _, err = echoSrvContainer.execAction("RunVclEchoServer "+proto)
+ _, err = echoSrvContainer.execAction("RunVclEchoServer " + proto)
s.assertNil(err)
s.log("This whole test case can take around 3 minutes to run. Please be patient.")
s.log("... Running first echo client test, before disconnect.")
echoClnContainer := s.getContainerByName("client-application")
- _, err = echoClnContainer.execAction("RunVclEchoClient "+proto)
+ _, err = echoClnContainer.execAction("RunVclEchoClient " + proto)
s.assertNil(err)
s.log("... First test ended. Stopping VPP server now.")
@@ -85,7 +85,7 @@ func (s *VethsSuite) testRetryAttach(proto string) {
time.Sleep(30 * time.Second) // Wait a moment for the re-attachment to happen
s.log("... Running second echo client test, after disconnect and re-attachment.")
- _, err = echoClnContainer.execAction("RunVclEchoClient "+proto)
+ _, err = echoClnContainer.execAction("RunVclEchoClient " + proto)
s.assertNil(err)
s.log("Done.")
}