switch to client provided services and address nits
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
@@ -552,11 +552,11 @@ func TestCreateContainer(t *testing.T) {
|
||||
"container name should be released")
|
||||
}
|
||||
assert.Empty(t, fakeSnapshotClient.ListMounts(), "snapshot should be cleaned up")
|
||||
listResp, listerr := fake.List(context.Background(), &containers.ListContainersRequest{})
|
||||
assert.NoError(t, listerr)
|
||||
listResp, err := fake.List(context.Background(), &containers.ListContainersRequest{})
|
||||
assert.NoError(t, err)
|
||||
assert.Empty(t, listResp.Containers, "containerd container should be cleaned up")
|
||||
metas, metaserr := c.containerStore.List()
|
||||
assert.NoError(t, metaserr)
|
||||
metas, err := c.containerStore.List()
|
||||
assert.NoError(t, err)
|
||||
assert.Empty(t, metas, "container metadata should not be created")
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user