@@ -76,7 +76,7 @@ def bucket_adoption_policy(request, s3_client):
7676 time .sleep (CREATE_WAIT_AFTER_SECONDS )
7777 cr = k8s .wait_resource_consumed_by_controller (ref )
7878
79- k8s .wait_on_condition (ref , "ACK.ResourceSynced " , "True" , wait_periods = 5 )
79+ k8s .wait_on_condition (ref , "Ready " , "True" , wait_periods = 5 )
8080 cr = k8s .get_resource (ref )
8181 assert cr is not None
8282
@@ -158,7 +158,7 @@ def test_adopt_or_create_policy(
158158 (ref , cr ) = bucket_adoption_policy
159159
160160 # Spec will be added by controller
161- k8s .wait_on_condition (ref , "ACK.ResourceSynced " , "True" , wait_periods = 5 )
161+ k8s .wait_on_condition (ref , "Ready " , "True" , wait_periods = 5 )
162162 assert 'spec' in cr
163163 assert 'name' in cr ['spec' ]
164164 bucket_name = cr ['spec' ]['name' ]
@@ -188,7 +188,7 @@ def test_adopt_or_create_policy_non_existent(
188188 # Spec will be added by controller
189189 assert 'spec' in cr
190190 assert 'name' in cr ['spec' ]
191- k8s .wait_on_condition (ref , "ACK.ResourceSynced " , "True" , wait_periods = 5 )
191+ k8s .wait_on_condition (ref , "Ready " , "True" , wait_periods = 5 )
192192
193193 name = cr ['spec' ]['name' ]
194194 latest = get_bucket (s3_resource , name )
@@ -217,7 +217,7 @@ def test_adoption_update_tags(
217217
218218 k8s .patch_custom_resource (ref , updates )
219219 time .sleep (MODIFY_WAIT_AFTER_SECONDS )
220- k8s .wait_on_condition (ref , "ACK.ResourceSynced " , "True" , wait_periods = 5 )
220+ k8s .wait_on_condition (ref , "Ready " , "True" , wait_periods = 5 )
221221
222222 cr = k8s .get_resource (ref )
223223 assert cr is not None
0 commit comments