Skip to content

Commit

Permalink
Merge pull request #4852 from khanhtc1202/fix-test
Browse files Browse the repository at this point in the history
Remove print in test
  • Loading branch information
karmada-bot committed Apr 20, 2024
2 parents c09ca0d + e9a6d91 commit f3b943d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/util/helper/taint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ limitations under the License.
package helper

import (
"fmt"
"reflect"
"testing"
"time"
Expand Down Expand Up @@ -541,7 +540,6 @@ func TestGetMinTolerationTime(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
result := GetMinTolerationTime(tt.noExecuteTaints, tt.usedTolerantion)
fmt.Printf("%+v", result)
if result > 0 {
if result > (tt.wantResult+1)*time.Second || result < (tt.wantResult-1)*time.Second {
t.Errorf("GetMinTolerationTime() = %v, want %v", result, tt.wantResult)
Expand Down

0 comments on commit f3b943d

Please sign in to comment.