mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #100759 from jsturtevant/replica-set-flake-issue-100725
Fix for Flaky test ReplicaSet Replace and Patch tests [Conformance]
This commit is contained in:
		@@ -502,7 +502,7 @@ func testRSLifeCycle(f *framework.Framework) {
 | 
			
		||||
	_, err = f.ClientSet.AppsV1().ReplicaSets(ns).Patch(context.TODO(), rsName, types.StrategicMergePatchType, []byte(rsPatch), metav1.PatchOptions{})
 | 
			
		||||
	framework.ExpectNoError(err, "failed to patch ReplicaSet")
 | 
			
		||||
 | 
			
		||||
	ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
 | 
			
		||||
	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)
 | 
			
		||||
	defer cancel()
 | 
			
		||||
	_, err = watchtools.Until(ctx, rsList.ResourceVersion, w, func(event watch.Event) (bool, error) {
 | 
			
		||||
		if rset, ok := event.Object.(*appsv1.ReplicaSet); ok {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user