More idle waits in delete tests.
This commit is contained in:
		
							parent
							
								
									4b6bffff1b
								
							
						
					
					
						commit
						ad73616fa6
					
				|  | @ -823,6 +823,7 @@ class EndToEndTestCase(unittest.TestCase): | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         k8s.update_config(patch_delete_annotations) |         k8s.update_config(patch_delete_annotations) | ||||||
|  |         self.eventuallyEqual(lambda: k8s.get_operator_state(), {"0":"idle"}, "Operator does not get in sync") | ||||||
| 
 | 
 | ||||||
|         try: |         try: | ||||||
|             # this delete attempt should be omitted because of missing annotations |             # this delete attempt should be omitted because of missing annotations | ||||||
|  | @ -854,6 +855,7 @@ class EndToEndTestCase(unittest.TestCase): | ||||||
|             } |             } | ||||||
|             k8s.api.custom_objects_api.patch_namespaced_custom_object( |             k8s.api.custom_objects_api.patch_namespaced_custom_object( | ||||||
|                 "acid.zalan.do", "v1", "default", "postgresqls", "acid-minimal-cluster", pg_patch_delete_annotations) |                 "acid.zalan.do", "v1", "default", "postgresqls", "acid-minimal-cluster", pg_patch_delete_annotations) | ||||||
|  |             self.eventuallyEqual(lambda: k8s.get_operator_state(), {"0":"idle"}, "Operator does not get in sync") | ||||||
| 
 | 
 | ||||||
|             # wait a little before proceeding |             # wait a little before proceeding | ||||||
|             time.sleep(20) |             time.sleep(20) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue