change log level and reduce log lines for e2e tests
This commit is contained in:
		
							parent
							
								
									4feb301650
								
							
						
					
					
						commit
						d19b88735f
					
				|  | @ -671,8 +671,6 @@ class EndToEndTestCase(unittest.TestCase): | |||
|         # wait until cluster is deleted | ||||
|         time.sleep(120) | ||||
| 
 | ||||
|         print('Operator log: {}'.format(k8s.get_operator_log())) | ||||
| 
 | ||||
|         # check if everything has been deleted | ||||
|         self.assertEqual(0, k8s.count_pods_with_label(cluster_label)) | ||||
|         self.assertEqual(0, k8s.count_services_with_label(cluster_label)) | ||||
|  | @ -830,7 +828,6 @@ class K8s: | |||
|                     name=pod_name, | ||||
|                     namespace=namespace | ||||
|                 ) | ||||
|                 print("Pod description {}".format(response)) | ||||
| 
 | ||||
|             time.sleep(self.RETRY_TIMEOUT_SEC) | ||||
| 
 | ||||
|  |  | |||
|  | @ -429,9 +429,9 @@ func (c *Controller) queueClusterEvent(informerOldSpec, informerNewSpec *acidv1. | |||
| 			c.logger.WithField("cluster-name", clusterName).Warnf( | ||||
| 				"please, recreate Postgresql resource %q and set annotations to delete properly", clusterName) | ||||
| 			if currentManifest, marshalErr := json.Marshal(informerOldSpec); marshalErr != nil { | ||||
| 				c.logger.WithField("cluster-name", clusterName).Debugf("could not marshal current manifest:\n%+v", informerOldSpec) | ||||
| 				c.logger.WithField("cluster-name", clusterName).Warnf("could not marshal current manifest:\n%+v", informerOldSpec) | ||||
| 			} else { | ||||
| 				c.logger.WithField("cluster-name", clusterName).Debugf("%s\n", string(currentManifest)) | ||||
| 				c.logger.WithField("cluster-name", clusterName).Warnf("%s\n", string(currentManifest)) | ||||
| 			} | ||||
| 			return | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue