diff options
Diffstat (limited to 'extras/hs-test/infra')
-rw-r--r-- | extras/hs-test/infra/container.go | 3 | ||||
-rw-r--r-- | extras/hs-test/infra/cpu.go | 3 | ||||
-rw-r--r-- | extras/hs-test/infra/hst_suite.go | 3 | ||||
-rw-r--r-- | extras/hs-test/infra/suite_cpu_pinning.go | 3 | ||||
-rw-r--r-- | extras/hs-test/infra/suite_envoy_proxy.go | 3 | ||||
-rw-r--r-- | extras/hs-test/infra/suite_vpp_proxy.go | 3 | ||||
-rw-r--r-- | extras/hs-test/infra/vppinstance.go | 3 |
7 files changed, 14 insertions, 7 deletions
diff --git a/extras/hs-test/infra/container.go b/extras/hs-test/infra/container.go index 974d1547c03..8ec9b8cd02c 100644 --- a/extras/hs-test/infra/container.go +++ b/extras/hs-test/infra/container.go @@ -4,7 +4,6 @@ import ( "bytes" "context" "fmt" - "github.com/docker/go-units" "os" "os/exec" "regexp" @@ -14,6 +13,8 @@ import ( "text/template" "time" + "github.com/docker/go-units" + "github.com/cilium/cilium/pkg/sysctl" containerTypes "github.com/docker/docker/api/types/container" "github.com/docker/docker/api/types/filters" diff --git a/extras/hs-test/infra/cpu.go b/extras/hs-test/infra/cpu.go index a1682819a2f..615f8a3f87d 100644 --- a/extras/hs-test/infra/cpu.go +++ b/extras/hs-test/infra/cpu.go @@ -4,11 +4,12 @@ import ( "bufio" "errors" "fmt" - . "github.com/onsi/ginkgo/v2" "os" "os/exec" "strconv" "strings" + + . "github.com/onsi/ginkgo/v2" ) var CgroupPath = "/sys/fs/cgroup/" diff --git a/extras/hs-test/infra/hst_suite.go b/extras/hs-test/infra/hst_suite.go index ed8da3fe244..234a8409ea0 100644 --- a/extras/hs-test/infra/hst_suite.go +++ b/extras/hs-test/infra/hst_suite.go @@ -4,7 +4,6 @@ import ( "bufio" "flag" "fmt" - "github.com/edwarnicke/exechelper" "io" "log" "net/http" @@ -17,6 +16,8 @@ import ( "strings" "time" + "github.com/edwarnicke/exechelper" + containerTypes "github.com/docker/docker/api/types/container" "github.com/docker/docker/client" "github.com/onsi/gomega/gmeasure" diff --git a/extras/hs-test/infra/suite_cpu_pinning.go b/extras/hs-test/infra/suite_cpu_pinning.go index e829efa950b..355fdf96604 100644 --- a/extras/hs-test/infra/suite_cpu_pinning.go +++ b/extras/hs-test/infra/suite_cpu_pinning.go @@ -2,10 +2,11 @@ package hst import ( "fmt" - . "github.com/onsi/ginkgo/v2" "reflect" "runtime" "strings" + + . "github.com/onsi/ginkgo/v2" ) var cpuPinningTests = map[string][]func(s *CpuPinningSuite){} diff --git a/extras/hs-test/infra/suite_envoy_proxy.go b/extras/hs-test/infra/suite_envoy_proxy.go index 80715214cac..e34a7d74225 100644 --- a/extras/hs-test/infra/suite_envoy_proxy.go +++ b/extras/hs-test/infra/suite_envoy_proxy.go @@ -7,10 +7,11 @@ package hst import ( "fmt" - . "github.com/onsi/ginkgo/v2" "reflect" "runtime" "strings" + + . "github.com/onsi/ginkgo/v2" ) const ( diff --git a/extras/hs-test/infra/suite_vpp_proxy.go b/extras/hs-test/infra/suite_vpp_proxy.go index 21e81e0581e..868684bcede 100644 --- a/extras/hs-test/infra/suite_vpp_proxy.go +++ b/extras/hs-test/infra/suite_vpp_proxy.go @@ -7,10 +7,11 @@ package hst import ( "fmt" - . "github.com/onsi/ginkgo/v2" "reflect" "runtime" "strings" + + . "github.com/onsi/ginkgo/v2" ) // These correspond to names used in yaml config diff --git a/extras/hs-test/infra/vppinstance.go b/extras/hs-test/infra/vppinstance.go index b3ae995870f..a1f2ce46ed3 100644 --- a/extras/hs-test/infra/vppinstance.go +++ b/extras/hs-test/infra/vppinstance.go @@ -4,7 +4,6 @@ import ( "context" "encoding/json" "fmt" - "go.fd.io/govpp/binapi/ethernet_types" "io" "net" "os" @@ -15,6 +14,8 @@ import ( "syscall" "time" + "go.fd.io/govpp/binapi/ethernet_types" + "github.com/edwarnicke/exechelper" . "github.com/onsi/ginkgo/v2" "github.com/sirupsen/logrus" |