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

@@ -41,7 +41,7 @@ var (
)
func init() {
flag.StringVar(&address, "address", defaults.DefaultAddress, "The address to the containerd socket for use in the tests")
flag.StringVar(&address, "address", defaultAddress, "The address to the containerd socket for use in the tests")
}
func testContext(t testing.TB) (context.Context, context.CancelFunc) {