X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fhs-test%2Futils.go;h=ba40beedeafb9d4d71cea9282c433b76da8b36a7;hb=eeaf6c8973d5dde96612e0212137408675fadf7a;hp=25303591a430c6bf9dc833075d1a90daedb030cb;hpb=ce62d6f01ceb9373d64110e6e4cfab7dcc041e9b;p=vpp.git diff --git a/extras/hs-test/utils.go b/extras/hs-test/utils.go index 25303591a43..ba40beedeaf 100755 --- a/extras/hs-test/utils.go +++ b/extras/hs-test/utils.go @@ -207,6 +207,7 @@ func startEnvoy(ctx context.Context, dockerInstance string) <-chan error { "-v", fmt.Sprintf("%s/envoy/proxy.yaml:/etc/envoy/envoy.yaml", wd), "-v", fmt.Sprintf("shared-vol:/tmp/%s", dockerInstance), "-v", fmt.Sprintf("%s/envoy:/tmp", wd), + "-e", "ENVOY_UID=0", "-e", "VCL_CONFIG=/tmp/vcl.conf", "envoyproxy/envoy-contrib:v1.21-latest"} fmt.Println(c) @@ -221,7 +222,7 @@ func startEnvoy(ctx context.Context, dockerInstance string) <-chan error { break } if count > 5 { - errCh <- fmt.Errorf("Failed to start envoy docker after %d attempts", count) + errCh <- fmt.Errorf("failed to start envoy docker after %d attempts", count) return } }