Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Commit 3785bbb

Browse files
author
odacremolbap
committed
remove non used (yet) variable
1 parent f409f6f commit 3785bbb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/reconciler/memorybroker/reconciler_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package memorybroker
33
import (
44
"context"
55
"testing"
6-
"time"
76

87
appsv1 "k8s.io/api/apps/v1"
98
corev1 "k8s.io/api/core/v1"
@@ -37,7 +36,7 @@ var (
3736
tKey = tNamespace + "/" + tName
3837
tTrue = true
3938
tReplicas int32 = 1
40-
tNow = metav1.NewTime(time.Now())
39+
// tNow = metav1.NewTime(time.Now())
4140
)
4241

4342
func TestAllCases(t *testing.T) {
@@ -78,7 +77,6 @@ func TestAllCases(t *testing.T) {
7877
),
7978
},
8079
},
81-
8280
WantEvents: []string{
8381
knt.Eventf(corev1.EventTypeWarning, "UnavailableEndpoints", `Endpoints for broker service "`+tNamespace+`/`+tName+`-mb-broker" do not exist`),
8482
},

0 commit comments

Comments
 (0)