mirror of
https://github.com/alibaba/higress.git
synced 2026-06-07 03:37:28 +08:00
UT: Increase unit test coverage of pkg/bootstrap (#101)
Signed-off-by: charlie <qianglin98@qq.com>
This commit is contained in:
@@ -61,6 +61,7 @@ func NewFakeClient(objects ...runtime.Object) Client {
|
||||
}
|
||||
c.higress = higressfake.NewSimpleClientset()
|
||||
c.higressInformer = higressinformer.NewSharedInformerFactoryWithOptions(c.higress, resyncInterval)
|
||||
c.informerWatchesPending = atomic.NewInt32(0)
|
||||
|
||||
// https://github.com/kubernetes/kubernetes/issues/95372
|
||||
// There is a race condition in the client fakes, where events that happen between the List and Watch
|
||||
|
||||
Reference in New Issue
Block a user