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:
parent
ef5dd6e46d
commit
8fca769bd5
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue