Skip to content

Commit

Permalink
UPSTREAM: 93478: kubelet: eviction: remove noise from TestGetReclaima…
Browse files Browse the repository at this point in the history
…bleThreshold test output
  • Loading branch information
sjenning committed Jul 27, 2020
1 parent 53f1b9d commit 7da17f9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/kubelet/eviction/helpers_test.go
Expand Up @@ -23,7 +23,7 @@ import (
"testing"
"time"

"k8s.io/api/core/v1"
v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
Expand Down Expand Up @@ -93,8 +93,7 @@ func TestGetReclaimableThreshold(t *testing.T) {
}
for testName, testCase := range testCases {
sort.Sort(byEvictionPriority(testCase.thresholds))
_, resource, ok := getReclaimableThreshold(testCase.thresholds)
print(resource)
_, _, ok := getReclaimableThreshold(testCase.thresholds)
if !ok {
t.Errorf("Didn't find reclaimable threshold, test: %v", testName)
}
Expand Down

0 comments on commit 7da17f9

Please sign in to comment.