Skip to content

Commit f3b943d

Browse files
authored
Merge pull request #4852 from khanhtc1202/fix-test
Remove print in test
2 parents c09ca0d + e9a6d91 commit f3b943d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: pkg/util/helper/taint_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ limitations under the License.
1717
package helper
1818

1919
import (
20-
"fmt"
2120
"reflect"
2221
"testing"
2322
"time"
@@ -541,7 +540,6 @@ func TestGetMinTolerationTime(t *testing.T) {
541540
for _, tt := range tests {
542541
t.Run(tt.name, func(t *testing.T) {
543542
result := GetMinTolerationTime(tt.noExecuteTaints, tt.usedTolerantion)
544-
fmt.Printf("%+v", result)
545543
if result > 0 {
546544
if result > (tt.wantResult+1)*time.Second || result < (tt.wantResult-1)*time.Second {
547545
t.Errorf("GetMinTolerationTime() = %v, want %v", result, tt.wantResult)

0 commit comments

Comments
 (0)