@@ -215,13 +215,13 @@ func (c *E2eCLI) NewDockerCmd(args ...string) icmd.Cmd {
215
215
216
216
// RunDockerOrExitError runs a docker command and returns a result
217
217
func (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 , " " ))
219
219
return icmd .RunCmd (c .NewDockerCmd (args ... ))
220
220
}
221
221
222
222
// RunCmd runs a command, expects no error and returns a result
223
223
func (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 , " " ))
225
225
assert .Assert (c .test , len (args ) >= 1 , "require at least one command in parameters" )
226
226
res := icmd .RunCmd (c .NewCmd (args [0 ], args [1 :]... ))
227
227
res .Assert (c .test , icmd .Success )
@@ -247,7 +247,7 @@ func (c *E2eCLI) WaitForCmdResult(command icmd.Cmd, predicate func(*icmd.Result)
247
247
assert .Assert (c .test , timeout .Nanoseconds () > delay .Nanoseconds (), "timeout must be greater than delay" )
248
248
var res * icmd.Result
249
249
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 , " " ))
251
251
res = icmd .RunCmd (command )
252
252
if ! predicate (res ) {
253
253
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
302
302
client := & http.Client {
303
303
Timeout : retryDelay ,
304
304
}
305
- fmt .Printf (" [%s] GET %s\n " , t .Name (), endpoint )
305
+ fmt .Printf ("\t [%s] GET %s\n " , t .Name (), endpoint )
306
306
checkUp := func (t poll.LogT ) poll.Result {
307
307
r , err = client .Get (endpoint )
308
308
if err != nil {
0 commit comments