From c8b656db505841f4711c66bd5befe716b12c88d7 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Fri, 6 Sep 2019 15:05:38 +0200 Subject: [PATCH] Fix wrong command in e2e agnhost utility function The `Command` will cause the container process not starting correctly, so we now use the `Args` to end up running `/agnhost pause` as intended. Signed-off-by: Sascha Grunert --- test/e2e/framework/util.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index b825aae8d4c..b941db316fa 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -475,9 +475,9 @@ func ProxyMode(f *Framework) (string, error) { HostNetwork: true, Containers: []v1.Container{ { - Name: "detector", - Image: AgnHostImage, - Command: []string{"pause"}, + Name: "detector", + Image: AgnHostImage, + Args: []string{"pause"}, }, }, },