testutil: use different containerd debug sock

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
docker-18.09
Tonis Tiigi 2018-10-16 18:59:44 -07:00
parent 6a3e7dd030
commit 88c81ee6d5
1 changed files with 2 additions and 1 deletions

View File

@ -96,11 +96,12 @@ disabled_plugins = ["cri"]
[debug]
level = "debug"
address = %q
[plugins]
[plugins.linux]
shim = %q
`, filepath.Join(tmpdir, "root"), filepath.Join(tmpdir, "state"), address, c.containerdShim)
`, filepath.Join(tmpdir, "root"), filepath.Join(tmpdir, "state"), address, filepath.Join(tmpdir, "debug.sock"), c.containerdShim)
configFile := filepath.Join(tmpdir, "config.toml")
if err := ioutil.WriteFile(configFile, []byte(config), 0644); err != nil {
return nil, nil, err