diff --git a/tests/smoke/smoke_test.go b/tests/smoke/smoke_test.go index 58ffefd9..6da8bf8b 100644 --- a/tests/smoke/smoke_test.go +++ b/tests/smoke/smoke_test.go @@ -274,7 +274,9 @@ func getsummary(podName string, maxcnt int) (*opb.Response, error) { if err != nil { log.Error().Msgf("Failed to apply the `karmor summary` command : %v", err) } - //fmt.Println("Summary :\n", string(summary)) + if maxcnt == 20 { + fmt.Println("Summary :\n", string(summary)) + } // implemented to break the summary and make the output a valid json object (this will be removed once we get the new kubearmor release) jsonObjects := strings.Split(string(summary), "}\n{") @@ -363,7 +365,7 @@ func getsummary(podName string, maxcnt int) (*opb.Response, error) { } } } - time.Sleep(10 * time.Second) + time.Sleep(20 * time.Second) } return nil, err }