Fixing integration test

Signed-off-by: Dani Louca <dani.louca@docker.com>
(cherry picked from commit 614daf1171)
Signed-off-by: Dani Louca <dani.louca@docker.com>
This commit is contained in:
Dani Louca 2019-08-13 14:33:28 -04:00
parent ef5dd6e46d
commit 8fca769bd5

View file

@ -42,7 +42,7 @@ func TestHealthKillContainer(t *testing.T) {
ctx := context.Background()
client := testEnv.APIClient()
id := container.Run(ctx, t, client, func(c *container.TestContainerConfig) {
id := container.Run(t, ctx, client, func(c *container.TestContainerConfig) {
c.Config.Healthcheck = &containertypes.HealthConfig{
Test: []string{"CMD-SHELL", "sleep 1"},
Interval: time.Second,