File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,8 @@ import (
88 "github.com/ghodss/yaml"
99 "github.com/stretchr/testify/assert"
1010 "k8s.io/apimachinery/pkg/types"
11- "k8s.io/client-go/util/workqueue"
1211 "k8s.io/utils/ptr"
1312 "sigs.k8s.io/controller-runtime/pkg/client"
14- "sigs.k8s.io/controller-runtime/pkg/controller/controllertest"
15- "sigs.k8s.io/controller-runtime/pkg/event"
1613 "sigs.k8s.io/controller-runtime/pkg/reconcile"
1714
1815 appsv1 "k8s.io/api/apps/v1"
@@ -193,10 +190,6 @@ func TestMongoDBSearchReconcile_Success(t *testing.T) {
193190 sts := & appsv1.StatefulSet {}
194191 err = c .Get (ctx , search .StatefulSetNamespacedName (), sts )
195192 assert .NoError (t , err )
196-
197- queue := controllertest.Queue {Interface : workqueue .New ()}
198- reconciler .mdbcWatcher .Create (ctx , event.CreateEvent {Object : mdbc }, & queue )
199- assert .Equal (t , 1 , queue .Len ())
200193}
201194
202195func checkSearchReconcileFailed (
You can’t perform that action at this time.
0 commit comments