fix 29992
This commit is contained in:
@@ -316,7 +316,6 @@ func TestUpdateSelectorToAdopt(t *testing.T) {
|
|||||||
|
|
||||||
stopCh := make(chan struct{})
|
stopCh := make(chan struct{})
|
||||||
go podInformer.Run(stopCh)
|
go podInformer.Run(stopCh)
|
||||||
waitToObservePods(t, podInformer, 2)
|
|
||||||
go rm.Run(5, stopCh)
|
go rm.Run(5, stopCh)
|
||||||
waitRSStable(t, clientSet, rs, ns.Name)
|
waitRSStable(t, clientSet, rs, ns.Name)
|
||||||
|
|
||||||
@@ -354,6 +353,7 @@ func TestUpdateSelectorToRemoveControllerRef(t *testing.T) {
|
|||||||
|
|
||||||
stopCh := make(chan struct{})
|
stopCh := make(chan struct{})
|
||||||
go podInformer.Run(stopCh)
|
go podInformer.Run(stopCh)
|
||||||
|
waitToObservePods(t, podInformer, 2)
|
||||||
go rm.Run(5, stopCh)
|
go rm.Run(5, stopCh)
|
||||||
waitRSStable(t, clientSet, rs, ns.Name)
|
waitRSStable(t, clientSet, rs, ns.Name)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user