Signed-off-by: Dani Louca <dani.louca@docker.com>
(cherry picked from commit 614daf117112e8c9576967764281cc6fe617bbb2)
Signed-off-by: Dani Louca <dani.louca@docker.com>
| ... | ... |
@@ -42,7 +42,7 @@ func TestHealthKillContainer(t *testing.T) {
|
| 42 | 42 |
ctx := context.Background() |
| 43 | 43 |
client := testEnv.APIClient() |
| 44 | 44 |
|
| 45 |
- id := container.Run(ctx, t, client, func(c *container.TestContainerConfig) {
|
|
| 45 |
+ id := container.Run(t, ctx, client, func(c *container.TestContainerConfig) {
|
|
| 46 | 46 |
c.Config.Healthcheck = &containertypes.HealthConfig{
|
| 47 | 47 |
Test: []string{"CMD-SHELL", "sleep 1"},
|
| 48 | 48 |
Interval: time.Second, |