You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newFakeInformer:=func(lw kcache.ListerWatcher, o runtime.Object, d time.Duration, i kcache.Indexers) kcache.SharedIndexInformer {
549
+
return&controllertest.FakeInformer{Synced: false}
550
+
}
551
+
reflect.NewAt(newInformerField.Type(), newInformerField.Addr().UnsafePointer()). //nolint:gosec // overriding informer with one that is guaranteed to block.
552
+
Elem().
553
+
Set(reflect.ValueOf(&newFakeInformer))
556
554
informerCache, err=createCacheFunc(cfg, opts)
557
555
Expect(err).NotTo(HaveOccurred())
558
556
By("running the cache and waiting for it to sync")
0 commit comments