wait for sync in rolling update timeout test
This commit is contained in:
		
							parent
							
								
									c1fe8485d8
								
							
						
					
					
						commit
						4462be68b4
					
				| 
						 | 
					@ -1232,7 +1232,7 @@ class EndToEndTestCase(unittest.TestCase):
 | 
				
			||||||
            k8s.wait_for_pod_start('spilo-role=replica,' + cluster_label)
 | 
					            k8s.wait_for_pod_start('spilo-role=replica,' + cluster_label)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            # status should again be "SyncFailed" but turn into "Running" on the next sync
 | 
					            # status should again be "SyncFailed" but turn into "Running" on the next sync
 | 
				
			||||||
            time.sleep(10)
 | 
					            time.sleep(20)
 | 
				
			||||||
            self.eventuallyEqual(lambda: k8s.pg_get_status(), "Running", "Expected running cluster after two syncs")
 | 
					            self.eventuallyEqual(lambda: k8s.pg_get_status(), "Running", "Expected running cluster after two syncs")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            # revert config changes
 | 
					            # revert config changes
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue