hs-test: fix envoy test
Type: test
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: I776e0f1f7ea700439d1fe6a598772776ae6a1493
diff --git a/extras/hs-test/vppinstance.go b/extras/hs-test/vppinstance.go
index 1c28ec9..c6771f6 100644
--- a/extras/hs-test/vppinstance.go
+++ b/extras/hs-test/vppinstance.go
@@ -2,7 +2,6 @@
import (
"fmt"
- "github.com/edwarnicke/exechelper"
"os"
"os/exec"
"os/signal"
@@ -10,6 +9,8 @@
"syscall"
"time"
+ "github.com/edwarnicke/exechelper"
+
"go.fd.io/govpp"
"go.fd.io/govpp/api"
"go.fd.io/govpp/binapi/af_packet"
@@ -121,8 +122,7 @@
signal.Notify(sig, syscall.SIGINT)
cont := make(chan bool, 1)
go func() {
- sig := <-sig
- fmt.Println(sig)
+ <-sig
cont <- true
}()