File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -200,10 +200,8 @@ func Test_NSHighloadWatch_ShouldNotFail(t *testing.T) {
200200 defer cancel ()
201201
202202 const clinetCount = 20
203- const updateCount int32 = 200
204-
205- watch .DefaultChanSize = updateCount
206203
204+ var updateCount = watch .DefaultChanSize
207205 var actual atomic.Int32
208206 var myClientset = fake .NewSimpleClientset ()
209207
Original file line number Diff line number Diff line change @@ -246,7 +246,6 @@ func (n *etcdNSERegistryServer) subscribeOnEvents(ctx context.Context) <-chan *r
246246 n .subscribers .Remove (node )
247247 close (ret )
248248 })
249-
250249 }()
251250
252251 return ret
Original file line number Diff line number Diff line change @@ -198,10 +198,8 @@ func Test_NSEHighloadWatch_ShouldNotFail(t *testing.T) {
198198 defer cancel ()
199199
200200 const clinetCount = 20
201- const updateCount int32 = 200
202-
203- watch .DefaultChanSize = updateCount
204201
202+ var updateCount = watch .DefaultChanSize
205203 var actual atomic.Int32
206204 var myClientset = fake .NewSimpleClientset ()
207205
You can’t perform that action at this time.
0 commit comments