forked from ansible-collections/community.aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rds_cluster: split up the test target (ansible-collections#1175)
rds_cluster: split up the test target Depends-On: ansible-collections#941 Split up the test target to avoid the parallel execution. Reviewed-by: Alina Buzachis <None> Reviewed-by: Gonéri Le Bouder <[email protected]>
- Loading branch information
Showing
27 changed files
with
134 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
minor_changes: | ||
- "rds_cluster - Split up the functional tests in smaller targets (https://github.com/ansible-collections/amazon.aws/pull/1175)." |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
tests/integration/targets/rds_cluster/roles/rds_cluster/meta/main.yml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/integration/targets/rds_cluster/roles/rds_cluster/tasks/main.yml
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
tests/integration/targets/rds_cluster/roles/rds_cluster/vars/main.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
...s/integration/targets/rds_cluster/aliases → ...ration/targets/rds_cluster_create/aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
time=10m | ||
|
||
time=20m | ||
cloud/aws | ||
|
||
rds_cluster | ||
rds_cluster_info |
11 changes: 11 additions & 0 deletions
11
tests/integration/targets/rds_cluster_create/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# defaults file for rds_cluster | ||
|
||
# Create cluster | ||
cluster_id: ansible-test-cluster-{{ tiny_prefix }} | ||
username: testrdsusername | ||
password: test-rds_password | ||
engine: aurora | ||
port: 3306 | ||
tags_create: | ||
Name: ansible-test-cluster-{{ tiny_prefix }} | ||
Created_By: Ansible_rds_cluster_integration_test |
8 changes: 7 additions & 1 deletion
8
...r/roles/rds_cluster/tasks/test_create.yml → ...argets/rds_cluster_create/tasks/main.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
time=20m | ||
cloud/aws | ||
rds_cluster | ||
rds_cluster_info |
17 changes: 1 addition & 16 deletions
17
...uster/roles/rds_cluster/defaults/main.yml → .../rds_cluster_create_sgs/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 7 additions & 1 deletion
8
...les/rds_cluster/tasks/test_create_sgs.yml → ...ts/rds_cluster_create_sgs/tasks/main.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
time=20m | ||
cloud/aws | ||
rds_cluster | ||
rds_cluster_info |
14 changes: 14 additions & 0 deletions
14
tests/integration/targets/rds_cluster_modify/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# defaults file for rds_cluster | ||
|
||
# Create cluster | ||
cluster_id: ansible-test-cluster-{{ tiny_prefix }} | ||
username: testrdsusername | ||
password: test-rds_password | ||
engine: aurora | ||
port: 3306 | ||
|
||
# Modify cluster | ||
new_cluster_id: ansible-test-cluster-{{ tiny_prefix }}-new | ||
new_port: 1155 | ||
new_password: test-rds_password-new | ||
new_db_parameter_group_name: ansible-test-db-parameter-group-{{ tiny_prefix }}-new |
8 changes: 7 additions & 1 deletion
8
...r/roles/rds_cluster/tasks/test_modify.yml → ...argets/rds_cluster_modify/tasks/main.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# TODO: Cannot be tested in the CI because: | ||
# An error occurred (InvalidParameterValue) when calling the CreateDBCluster operation: Replication from cluster in same region is not supported | ||
disabled | ||
time=20m | ||
cloud/aws | ||
rds_cluster | ||
rds_cluster_info |
8 changes: 8 additions & 0 deletions
8
tests/integration/targets/rds_cluster_promote/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# defaults file for rds_cluster | ||
|
||
# Create cluster | ||
cluster_id: ansible-test-cluster-{{ tiny_prefix }} | ||
username: testrdsusername | ||
password: test-rds_password | ||
engine: aurora | ||
port: 3306 |
8 changes: 7 additions & 1 deletion
8
.../roles/rds_cluster/tasks/test_promote.yml → ...rgets/rds_cluster_promote/tasks/main.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
time=20m | ||
cloud/aws | ||
rds_cluster | ||
rds_cluster_info |
8 changes: 8 additions & 0 deletions
8
tests/integration/targets/rds_cluster_restore/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# defaults file for rds_cluster | ||
|
||
# Create cluster | ||
cluster_id: ansible-test-cluster-{{ tiny_prefix }} | ||
username: testrdsusername | ||
password: test-rds_password | ||
engine: aurora | ||
port: 3306 |
8 changes: 7 additions & 1 deletion
8
.../roles/rds_cluster/tasks/test_restore.yml → ...rgets/rds_cluster_restore/tasks/main.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
time=20m | ||
cloud/aws | ||
rds_cluster | ||
rds_cluster_info |
17 changes: 17 additions & 0 deletions
17
tests/integration/targets/rds_cluster_tag/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# defaults file for rds_cluster | ||
|
||
# Create cluster | ||
cluster_id: ansible-test-cluster-{{ tiny_prefix }} | ||
username: testrdsusername | ||
password: test-rds_password | ||
engine: aurora | ||
port: 3306 | ||
tags_create: | ||
Name: ansible-test-cluster-{{ tiny_prefix }} | ||
Created_By: Ansible_rds_cluster_integration_test | ||
new_password: test-rds_password-new | ||
|
||
# Tag cluster | ||
tags_patch: | ||
Name: '{{ tiny_prefix }}-new' | ||
Created_by: Ansible rds_cluster integration tests |
8 changes: 7 additions & 1 deletion
8
...ster/roles/rds_cluster/tasks/test_tag.yml → ...n/targets/rds_cluster_tag/tasks/main.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters