@@ -215,13 +215,13 @@ func (c *E2eCLI) NewDockerCmd(args ...string) icmd.Cmd {
215215
216216// RunDockerOrExitError runs a docker command and returns a result
217217func (c * E2eCLI ) RunDockerOrExitError (args ... string ) * icmd.Result {
218- fmt .Printf (" [%s] docker %s\n " , c .test .Name (), strings .Join (args , " " ))
218+ fmt .Printf ("\t [%s] docker %s\n " , c .test .Name (), strings .Join (args , " " ))
219219 return icmd .RunCmd (c .NewDockerCmd (args ... ))
220220}
221221
222222// RunCmd runs a command, expects no error and returns a result
223223func (c * E2eCLI ) RunCmd (args ... string ) * icmd.Result {
224- fmt .Printf (" [%s] %s\n " , c .test .Name (), strings .Join (args , " " ))
224+ fmt .Printf ("\t [%s] %s\n " , c .test .Name (), strings .Join (args , " " ))
225225 assert .Assert (c .test , len (args ) >= 1 , "require at least one command in parameters" )
226226 res := icmd .RunCmd (c .NewCmd (args [0 ], args [1 :]... ))
227227 res .Assert (c .test , icmd .Success )
@@ -247,7 +247,7 @@ func (c *E2eCLI) WaitForCmdResult(command icmd.Cmd, predicate func(*icmd.Result)
247247 assert .Assert (c .test , timeout .Nanoseconds () > delay .Nanoseconds (), "timeout must be greater than delay" )
248248 var res * icmd.Result
249249 checkStopped := func (logt poll.LogT ) poll.Result {
250- fmt .Printf (" [%s] %s\n " , c .test .Name (), strings .Join (command .Command , " " ))
250+ fmt .Printf ("\t [%s] %s\n " , c .test .Name (), strings .Join (command .Command , " " ))
251251 res = icmd .RunCmd (command )
252252 if ! predicate (res ) {
253253 return poll .Continue ("Cmd output did not match requirement: %q" , res .Combined ())
@@ -302,7 +302,7 @@ func HTTPGetWithRetry(t *testing.T, endpoint string, expectedStatus int, retryDe
302302 client := & http.Client {
303303 Timeout : retryDelay ,
304304 }
305- fmt .Printf (" [%s] GET %s\n " , t .Name (), endpoint )
305+ fmt .Printf ("\t [%s] GET %s\n " , t .Name (), endpoint )
306306 checkUp := func (t poll.LogT ) poll.Result {
307307 r , err = client .Get (endpoint )
308308 if err != nil {
0 commit comments