Revert "Temporarily comment out tests causing CI errors (#35883)"
This reverts commit 157a41c843
.
Have a fix for the underlying issue so reenabling the tests
This commit is contained in:
parent
5c085b2436
commit
abbac1a2ff
1 changed files with 132 additions and 132 deletions
|
@ -273,154 +273,154 @@
|
|||
# ============================================================
|
||||
# parallel lambda creation
|
||||
|
||||
#- name: parallel lambda creation 1/4
|
||||
# lambda:
|
||||
# name: "{{lambda_function_name}}_1"
|
||||
# runtime: "python2.7"
|
||||
# handler: "mini_lambda.handler"
|
||||
# role: "ansible_lambda_role"
|
||||
# ec2_region: '{{ec2_region}}'
|
||||
# ec2_access_key: '{{ec2_access_key}}'
|
||||
# ec2_secret_key: '{{ec2_secret_key}}'
|
||||
# security_token: '{{security_token}}'
|
||||
# zip_file: "{{zip_res.dest}}"
|
||||
# async: 1000
|
||||
# register: async_1
|
||||
- name: parallel lambda creation 1/4
|
||||
lambda:
|
||||
name: "{{lambda_function_name}}_1"
|
||||
runtime: "python2.7"
|
||||
handler: "mini_lambda.handler"
|
||||
role: "ansible_lambda_role"
|
||||
ec2_region: '{{ec2_region}}'
|
||||
ec2_access_key: '{{ec2_access_key}}'
|
||||
ec2_secret_key: '{{ec2_secret_key}}'
|
||||
security_token: '{{security_token}}'
|
||||
zip_file: "{{zip_res.dest}}"
|
||||
async: 1000
|
||||
register: async_1
|
||||
|
||||
#- name: parallel lambda creation 2/4
|
||||
# lambda:
|
||||
# name: "{{lambda_function_name}}_2"
|
||||
# runtime: "python2.7"
|
||||
# handler: "mini_lambda.handler"
|
||||
# role: "ansible_lambda_role"
|
||||
# ec2_region: '{{ec2_region}}'
|
||||
# ec2_access_key: '{{ec2_access_key}}'
|
||||
# ec2_secret_key: '{{ec2_secret_key}}'
|
||||
# security_token: '{{security_token}}'
|
||||
# zip_file: "{{zip_res.dest}}"
|
||||
# async: 1000
|
||||
# register: async_2
|
||||
- name: parallel lambda creation 2/4
|
||||
lambda:
|
||||
name: "{{lambda_function_name}}_2"
|
||||
runtime: "python2.7"
|
||||
handler: "mini_lambda.handler"
|
||||
role: "ansible_lambda_role"
|
||||
ec2_region: '{{ec2_region}}'
|
||||
ec2_access_key: '{{ec2_access_key}}'
|
||||
ec2_secret_key: '{{ec2_secret_key}}'
|
||||
security_token: '{{security_token}}'
|
||||
zip_file: "{{zip_res.dest}}"
|
||||
async: 1000
|
||||
register: async_2
|
||||
|
||||
#- name: parallel lambda creation 3/4
|
||||
# lambda:
|
||||
# name: "{{lambda_function_name}}_3"
|
||||
# runtime: "python2.7"
|
||||
# handler: "mini_lambda.handler"
|
||||
# role: "ansible_lambda_role"
|
||||
# ec2_region: '{{ec2_region}}'
|
||||
# ec2_access_key: '{{ec2_access_key}}'
|
||||
# ec2_secret_key: '{{ec2_secret_key}}'
|
||||
# security_token: '{{security_token}}'
|
||||
# zip_file: "{{zip_res.dest}}"
|
||||
# async: 1000
|
||||
# register: async_3
|
||||
- name: parallel lambda creation 3/4
|
||||
lambda:
|
||||
name: "{{lambda_function_name}}_3"
|
||||
runtime: "python2.7"
|
||||
handler: "mini_lambda.handler"
|
||||
role: "ansible_lambda_role"
|
||||
ec2_region: '{{ec2_region}}'
|
||||
ec2_access_key: '{{ec2_access_key}}'
|
||||
ec2_secret_key: '{{ec2_secret_key}}'
|
||||
security_token: '{{security_token}}'
|
||||
zip_file: "{{zip_res.dest}}"
|
||||
async: 1000
|
||||
register: async_3
|
||||
|
||||
#- name: parallel lambda creation 4/4
|
||||
# lambda:
|
||||
# name: "{{lambda_function_name}}_4"
|
||||
# runtime: "python2.7"
|
||||
# handler: "mini_lambda.handler"
|
||||
# role: "ansible_lambda_role"
|
||||
# ec2_region: '{{ec2_region}}'
|
||||
# ec2_access_key: '{{ec2_access_key}}'
|
||||
# ec2_secret_key: '{{ec2_secret_key}}'
|
||||
# security_token: '{{security_token}}'
|
||||
# zip_file: "{{zip_res.dest}}"
|
||||
# register: result
|
||||
- name: parallel lambda creation 4/4
|
||||
lambda:
|
||||
name: "{{lambda_function_name}}_4"
|
||||
runtime: "python2.7"
|
||||
handler: "mini_lambda.handler"
|
||||
role: "ansible_lambda_role"
|
||||
ec2_region: '{{ec2_region}}'
|
||||
ec2_access_key: '{{ec2_access_key}}'
|
||||
ec2_secret_key: '{{ec2_secret_key}}'
|
||||
security_token: '{{security_token}}'
|
||||
zip_file: "{{zip_res.dest}}"
|
||||
register: result
|
||||
|
||||
#- name: assert lambda manages to respond as expected
|
||||
# assert:
|
||||
# that:
|
||||
# - 'result is not failed'
|
||||
- name: assert lambda manages to respond as expected
|
||||
assert:
|
||||
that:
|
||||
- 'result is not failed'
|
||||
|
||||
#- name: wait for async job 1
|
||||
# async_status: jid={{ async_1.ansible_job_id }}
|
||||
# register: job_result
|
||||
# until: job_result.finished
|
||||
# retries: 30
|
||||
- name: wait for async job 1
|
||||
async_status: jid={{ async_1.ansible_job_id }}
|
||||
register: job_result
|
||||
until: job_result.finished
|
||||
retries: 30
|
||||
|
||||
#- name: wait for async job 2
|
||||
# async_status: jid={{ async_1.ansible_job_id }}
|
||||
# register: job_result
|
||||
# until: job_result.finished
|
||||
# retries: 30
|
||||
- name: wait for async job 2
|
||||
async_status: jid={{ async_1.ansible_job_id }}
|
||||
register: job_result
|
||||
until: job_result.finished
|
||||
retries: 30
|
||||
|
||||
#- name: wait for async job 3
|
||||
# async_status: jid={{ async_3.ansible_job_id }}
|
||||
# register: job_result
|
||||
# until: job_result.finished
|
||||
# retries: 30
|
||||
- name: wait for async job 3
|
||||
async_status: jid={{ async_3.ansible_job_id }}
|
||||
register: job_result
|
||||
until: job_result.finished
|
||||
retries: 30
|
||||
|
||||
|
||||
#- name: parallel lambda deletion 1/4
|
||||
# lambda:
|
||||
# name: "{{lambda_function_name}}_1"
|
||||
# state: absent
|
||||
# ec2_region: '{{ec2_region}}'
|
||||
# ec2_access_key: '{{ec2_access_key}}'
|
||||
# ec2_secret_key: '{{ec2_secret_key}}'
|
||||
# security_token: '{{security_token}}'
|
||||
# zip_file: "{{zip_res.dest}}"
|
||||
# async: 1000
|
||||
# register: async_1
|
||||
- name: parallel lambda deletion 1/4
|
||||
lambda:
|
||||
name: "{{lambda_function_name}}_1"
|
||||
state: absent
|
||||
ec2_region: '{{ec2_region}}'
|
||||
ec2_access_key: '{{ec2_access_key}}'
|
||||
ec2_secret_key: '{{ec2_secret_key}}'
|
||||
security_token: '{{security_token}}'
|
||||
zip_file: "{{zip_res.dest}}"
|
||||
async: 1000
|
||||
register: async_1
|
||||
|
||||
#- name: parallel lambda deletion 2/4
|
||||
# lambda:
|
||||
# name: "{{lambda_function_name}}_2"
|
||||
# state: absent
|
||||
# ec2_region: '{{ec2_region}}'
|
||||
# ec2_access_key: '{{ec2_access_key}}'
|
||||
# ec2_secret_key: '{{ec2_secret_key}}'
|
||||
# security_token: '{{security_token}}'
|
||||
# zip_file: "{{zip_res.dest}}"
|
||||
# async: 1000
|
||||
# register: async_2
|
||||
- name: parallel lambda deletion 2/4
|
||||
lambda:
|
||||
name: "{{lambda_function_name}}_2"
|
||||
state: absent
|
||||
ec2_region: '{{ec2_region}}'
|
||||
ec2_access_key: '{{ec2_access_key}}'
|
||||
ec2_secret_key: '{{ec2_secret_key}}'
|
||||
security_token: '{{security_token}}'
|
||||
zip_file: "{{zip_res.dest}}"
|
||||
async: 1000
|
||||
register: async_2
|
||||
|
||||
#- name: parallel lambda deletion 3/4
|
||||
# lambda:
|
||||
# name: "{{lambda_function_name}}_3"
|
||||
# state: absent
|
||||
# ec2_region: '{{ec2_region}}'
|
||||
# ec2_access_key: '{{ec2_access_key}}'
|
||||
# ec2_secret_key: '{{ec2_secret_key}}'
|
||||
# security_token: '{{security_token}}'
|
||||
# zip_file: "{{zip_res.dest}}"
|
||||
# async: 1000
|
||||
# register: async_3
|
||||
- name: parallel lambda deletion 3/4
|
||||
lambda:
|
||||
name: "{{lambda_function_name}}_3"
|
||||
state: absent
|
||||
ec2_region: '{{ec2_region}}'
|
||||
ec2_access_key: '{{ec2_access_key}}'
|
||||
ec2_secret_key: '{{ec2_secret_key}}'
|
||||
security_token: '{{security_token}}'
|
||||
zip_file: "{{zip_res.dest}}"
|
||||
async: 1000
|
||||
register: async_3
|
||||
|
||||
#- name: parallel lambda deletion 4/4
|
||||
# lambda:
|
||||
# name: "{{lambda_function_name}}_4"
|
||||
# state: absent
|
||||
# ec2_region: '{{ec2_region}}'
|
||||
# ec2_access_key: '{{ec2_access_key}}'
|
||||
# ec2_secret_key: '{{ec2_secret_key}}'
|
||||
# security_token: '{{security_token}}'
|
||||
# zip_file: "{{zip_res.dest}}"
|
||||
# register: result
|
||||
- name: parallel lambda deletion 4/4
|
||||
lambda:
|
||||
name: "{{lambda_function_name}}_4"
|
||||
state: absent
|
||||
ec2_region: '{{ec2_region}}'
|
||||
ec2_access_key: '{{ec2_access_key}}'
|
||||
ec2_secret_key: '{{ec2_secret_key}}'
|
||||
security_token: '{{security_token}}'
|
||||
zip_file: "{{zip_res.dest}}"
|
||||
register: result
|
||||
|
||||
#- name: assert lambda creation has succeeded
|
||||
# assert:
|
||||
# that:
|
||||
# - 'result is not failed'
|
||||
- name: assert lambda creation has succeeded
|
||||
assert:
|
||||
that:
|
||||
- 'result is not failed'
|
||||
|
||||
#- name: wait for async job 1
|
||||
# async_status: jid={{ async_1.ansible_job_id }}
|
||||
# register: job_result
|
||||
# until: job_result.finished
|
||||
# retries: 30
|
||||
- name: wait for async job 1
|
||||
async_status: jid={{ async_1.ansible_job_id }}
|
||||
register: job_result
|
||||
until: job_result.finished
|
||||
retries: 30
|
||||
|
||||
#- name: wait for async job 2
|
||||
# async_status: jid={{ async_1.ansible_job_id }}
|
||||
# register: job_result
|
||||
# until: job_result.finished
|
||||
# retries: 30
|
||||
- name: wait for async job 2
|
||||
async_status: jid={{ async_1.ansible_job_id }}
|
||||
register: job_result
|
||||
until: job_result.finished
|
||||
retries: 30
|
||||
|
||||
#- name: wait for async job 3
|
||||
# async_status: jid={{ async_3.ansible_job_id }}
|
||||
# register: job_result
|
||||
# until: job_result.finished
|
||||
# retries: 30
|
||||
- name: wait for async job 3
|
||||
async_status: jid={{ async_3.ansible_job_id }}
|
||||
register: job_result
|
||||
until: job_result.finished
|
||||
retries: 30
|
||||
|
||||
|
||||
# ============================================================
|
||||
|
|
Loading…
Reference in a new issue