client: update tests to new deps

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
v0.7
Tonis Tiigi 2019-08-05 15:52:13 -07:00
parent 9290c15ffc
commit ac8fd77049
1 changed files with 3 additions and 2 deletions

View File

@ -582,7 +582,8 @@ func testSecurityModeSysfs(t *testing.T, sb integration.Sandbox) {
if secMode == securitySandbox {
require.Error(t, err)
require.Contains(t, err.Error(), "exit code: 1")
require.Contains(t, err.Error(), "executor failed running")
require.Contains(t, err.Error(), "mkdir /sys/fs/cgroup/cpuset/securitytest")
} else {
require.NoError(t, err)
}
@ -664,7 +665,7 @@ func testFrontendImageNaming(t *testing.T, sb integration.Sandbox) {
require.NoError(t, err)
require.Equal(t, 1, len(dockerMfst))
require.Equal(t, 1, len(dockerMfst[0].RepoTags))
require.Equal(t, "docker.io/library/"+imageName, dockerMfst[0].RepoTags[0])
require.Equal(t, imageName, dockerMfst[0].RepoTags[0])
},
ExporterImage: func(_, imageName string, exporterResponse map[string]string) {
require.Contains(t, exporterResponse, "image.name")