File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ var _ = g.Describe("[sig-arch][Feature:ClusterUpgrade]", func() {
190190 }
191191 // Sleep to give some time to the workloads on the last upgraded
192192 // node to restart.
193- time .Sleep (30 * time .Second )
193+ time .Sleep (5 * time .Second )
194194 },
195195 )
196196 })
@@ -199,18 +199,7 @@ var _ = g.Describe("[sig-arch][Feature:ClusterUpgrade]", func() {
199199 config , err := framework .LoadConfig ()
200200 framework .ExpectNoError (err )
201201 client := configv1client .NewForConfigOrDie (config )
202- var lastErr error
203- err = wait .PollImmediate (1 * time .Second , 30 * time .Second , func () (bool , error ) {
204- if err := checkUpgradeability (client ); err != nil {
205- lastErr = err
206- framework .Logf ("Upgradeability check failed, retrying: %v" , err )
207- return false , nil // retry on error
208- }
209- return true , nil
210- })
211- if err != nil && lastErr != nil {
212- err = lastErr
213- }
202+ err = checkUpgradeability (client )
214203 framework .ExpectNoError (err )
215204 })
216205})
You can’t perform that action at this time.
0 commit comments