Clear ClusterIP in the local service before comparison.
This commit is contained in:
		@@ -214,6 +214,11 @@ func waitForFederatedServiceShard(cs *release_1_3.Clientset, namespace string, s
 | 
			
		||||
	if numSvcs > 0 && service != nil {
 | 
			
		||||
		// Renaming for clarity/readability
 | 
			
		||||
		clSvc := clSvcList.Items[0]
 | 
			
		||||
 | 
			
		||||
		// The federation service has no cluster IP.  Clear any cluster IP before
 | 
			
		||||
		// comparison.
 | 
			
		||||
		clSvc.Spec.ClusterIP = ""
 | 
			
		||||
 | 
			
		||||
		Expect(clSvc.Name).To(Equal(service.Name))
 | 
			
		||||
		Expect(clSvc.Spec).To(Equal(service.Spec))
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user