Commit ed091e8f authored by Chao Xu's avatar Chao Xu

fix 29992

parent 8f4f6826
...@@ -316,7 +316,6 @@ func TestUpdateSelectorToAdopt(t *testing.T) { ...@@ -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) { ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment