hs-test: use docker sdk
Type: test Change-Id: I9d6b15ca6a9aac3343e10f480dec43c4c538f1b7 Signed-off-by: Adrian Villin <avillin@cisco.com>
This commit is contained in:
@@ -3,8 +3,6 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
@@ -14,11 +12,6 @@ import (
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
||||
func getTestFilename() string {
|
||||
_, filename, _, _ := runtime.Caller(2)
|
||||
return filepath.Base(filename)
|
||||
}
|
||||
|
||||
func TestHst(t *testing.T) {
|
||||
if *IsVppDebug {
|
||||
// 30 minute timeout so that the framework won't timeout while debugging
|
||||
@@ -28,7 +21,6 @@ func TestHst(t *testing.T) {
|
||||
}
|
||||
|
||||
output, err := os.ReadFile("/sys/devices/system/node/online")
|
||||
fmt.Println(string(output))
|
||||
if err == nil && strings.Contains(string(output), "-") {
|
||||
NumaAwareCpuAlloc = true
|
||||
}
|
||||
|
Reference in New Issue
Block a user