1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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() ctx := context.Background()
client := testEnv.APIClient() 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{ c.Config.Healthcheck = &containertypes.HealthConfig{
Test: []string{"CMD-SHELL", "sleep 1"}, Test: []string{"CMD-SHELL", "sleep 1"},
Interval: time.Second, Interval: time.Second,