From f3ee2b636ad3b12e7484ec6fb13f220699417046 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Mon, 9 Jan 2023 12:07:09 +0100 Subject: 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 Change-Id: Icba60633f82aa8bbc75749f080e00f0375b55a18 --- extras/hs-test/vcl_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'extras/hs-test/vcl_test.go') 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.") } -- cgit 1.2.3-korg