File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -611,8 +611,10 @@ func customPreCompare(
611
611
a .ko .Spec .DeletionProtectionEnabled = aws .Bool (false )
612
612
}
613
613
614
- if a .ko .Spec .ContributorInsights == nil && b .ko .Spec .ContributorInsights != nil &&
615
- * b .ko .Spec .ContributorInsights == string (svcsdktypes .ContributorInsightsActionDisable ) {
614
+ // Making this field a no-op if user does not set it.
615
+ // This will ensure controller does not act on this field
616
+ // if user is unaware of it.
617
+ if a .ko .Spec .ContributorInsights == nil {
616
618
a .ko .Spec .ContributorInsights = b .ko .Spec .ContributorInsights
617
619
}
618
620
}
Original file line number Diff line number Diff line change 29
29
from e2e .replacement_values import REPLACEMENT_VALUES
30
30
31
31
RESOURCE_PLURAL = "tables"
32
-
32
+ CREATE_WAIT_AFTER_SECONDS = 30
33
33
DELETE_WAIT_AFTER_SECONDS = 15
34
34
MODIFY_WAIT_AFTER_SECONDS = 90
35
35
@@ -71,6 +71,8 @@ def create_table(name: str, resource_template):
71
71
name , namespace = "default" ,
72
72
)
73
73
74
+ time .sleep (CREATE_WAIT_AFTER_SECONDS )
75
+
74
76
# Create table
75
77
k8s .create_custom_resource (table_reference , resource_data )
76
78
table_resource = k8s .wait_resource_consumed_by_controller (table_reference )
You can’t perform that action at this time.
0 commit comments