Use different containerd sock address in tests

Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
This commit is contained in:
Kirtana Ashok
2023-11-22 14:39:08 -08:00
parent b0d00f8636
commit 5b6ae0f796
4 changed files with 40 additions and 7 deletions

View File

@@ -24,11 +24,6 @@ import (
"github.com/Microsoft/hcsshim/osversion"
)
//nolint:unused // some variables used for fuzz
const (
defaultAddress = `\\.\pipe\containerd-containerd-test`
)
var (
defaultRoot = filepath.Join(os.Getenv("programfiles"), "containerd", "root-test")
defaultState = filepath.Join(os.Getenv("programfiles"), "containerd", "state-test")