Skip to content

Commit f6d0b7f

Browse files
authored
Merge snapshot tests, and fix unreasonable timeout values. (#57)
Issue #, if available: Snapshot tests creates 3 clusters. Reduce cluster creations to 2. Some timeout values are not reasonable. Description of changes: Merge snapshot_validate_tags.yaml into other snapshot test. Reduce timeout value of terminal cases to 60. Reduce timeout value of tags update to 10. Reduce timeout value of some huge wait time. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 8d7b16d commit f6d0b7f

17 files changed

+40
-108
lines changed

test/e2e/scenarios/ACL/acl_terminal_condition.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ steps:
4646
conditions:
4747
ACK.Terminal:
4848
status: "True"
49-
timeout: 180
49+
timeout: 60
5050
- id: "UPDATE_ACL_VALID"
5151
description: "Update userNames"
5252
patch:
@@ -87,7 +87,7 @@ steps:
8787
conditions:
8888
ACK.Terminal:
8989
status: "True"
90-
timeout: 180
90+
timeout: 60
9191
expect_aws:
9292
UserNames:
9393
- user$RANDOM_SUFFIX

test/e2e/scenarios/ACL/acl_update_with_tags.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ steps:
7474
conditions:
7575
ACK.ResourceSynced:
7676
status: "True"
77-
timeout: 100
77+
timeout: 10
7878
expect_k8s:
7979
spec:
8080
tags:
@@ -104,7 +104,7 @@ steps:
104104
conditions:
105105
ACK.ResourceSynced:
106106
status: "True"
107-
timeout: 100
107+
timeout: 10
108108
expect_k8s:
109109
spec:
110110
tags:
@@ -130,7 +130,7 @@ steps:
130130
conditions:
131131
ACK.ResourceSynced:
132132
status: "True"
133-
timeout: 100
133+
timeout: 10
134134
expect_k8s:
135135
spec:
136136
tags:

test/e2e/scenarios/Cluster/cluster_create_update.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ steps:
2828
conditions:
2929
ACK.ResourceSynced:
3030
status: "True"
31-
timeout: 7200
31+
timeout: 1800
3232
expect_k8s:
3333
spec:
3434
name: cluster$RANDOM_SUFFIX

test/e2e/scenarios/Cluster/cluster_scale_in_scale_up_increase_replica.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ steps:
2828
conditions:
2929
ACK.ResourceSynced:
3030
status: "True"
31-
timeout: 7200
31+
timeout: 3600
3232
expect_k8s:
3333
spec:
3434
name: cluster$RANDOM_SUFFIX
@@ -55,7 +55,7 @@ steps:
5555
conditions:
5656
ACK.ResourceSynced:
5757
status: "True"
58-
timeout: 10000
58+
timeout: 3600
5959
expect_k8s:
6060
spec:
6161
nodeType: db.t4g.medium

test/e2e/scenarios/Cluster/cluster_scale_out_scale_down_decrease_replica.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ steps:
2828
conditions:
2929
ACK.ResourceSynced:
3030
status: "True"
31-
timeout: 7200
31+
timeout: 3600
3232
expect_k8s:
3333
spec:
3434
name: cluster$RANDOM_SUFFIX
@@ -55,7 +55,7 @@ steps:
5555
conditions:
5656
ACK.ResourceSynced:
5757
status: "True"
58-
timeout: 10000
58+
timeout: 3600
5959
expect_k8s:
6060
spec:
6161
nodeType: db.t4g.small

test/e2e/scenarios/Cluster/cluster_update_with_tags.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ steps:
2222
conditions:
2323
ACK.ResourceSynced:
2424
status: "True"
25-
timeout: 1800
25+
timeout: 3600
2626
expect_k8s:
2727
spec:
2828
name: cluster$RANDOM_SUFFIX
@@ -46,7 +46,7 @@ steps:
4646
conditions:
4747
ACK.ResourceSynced:
4848
status: "True"
49-
timeout: 100
49+
timeout: 10
5050
expect_k8s:
5151
spec:
5252
tags:
@@ -76,7 +76,7 @@ steps:
7676
conditions:
7777
ACK.ResourceSynced:
7878
status: "True"
79-
timeout: 100
79+
timeout: 10
8080
expect_k8s:
8181
spec:
8282
tags:
@@ -102,7 +102,7 @@ steps:
102102
conditions:
103103
ACK.ResourceSynced:
104104
status: "True"
105-
timeout: 100
105+
timeout: 10
106106
expect_k8s:
107107
spec:
108108
tags:

test/e2e/scenarios/ParameterGroup/pg_create_terminal_condition.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ steps:
2121
conditions:
2222
ACK.Terminal:
2323
status: "True"
24-
timeout: 300
24+
timeout: 60
2525
- id: "DELETE_PG"
2626
description: "Delete parameter group"
2727
delete: pg$RANDOM_SUFFIX

test/e2e/scenarios/ParameterGroup/pg_update_with_tags.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ steps:
4141
conditions:
4242
ACK.ResourceSynced:
4343
status: "True"
44-
timeout: 100
44+
timeout: 10
4545
expect_k8s:
4646
spec:
4747
tags:
@@ -67,7 +67,7 @@ steps:
6767
conditions:
6868
ACK.ResourceSynced:
6969
status: "True"
70-
timeout: 100
70+
timeout: 10
7171
expect_k8s:
7272
spec:
7373
tags:
@@ -89,7 +89,7 @@ steps:
8989
conditions:
9090
ACK.ResourceSynced:
9191
status: "True"
92-
timeout: 100
92+
timeout: 10
9393
expect_k8s:
9494
spec:
9595
tags:

test/e2e/scenarios/Snapshot/snapshot_copy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ steps:
4343
conditions:
4444
ACK.ResourceSynced:
4545
status: "True"
46-
timeout: 3600
46+
timeout: 1800
4747
expect_k8s:
4848
spec:
4949
sourceSnapshotName: snapshot$RANDOM_SUFFIX

test/e2e/scenarios/Snapshot/snapshot_create.yaml

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)