aws-cloudformation / aws-cloudformation-samples

Apache License 2.0
134 stars 55 forks source link

Added 1 additional target. #69

Closed mrinaudo-aws closed 1 year ago

mrinaudo-aws commented 1 year ago

Issue #, if available:

Description of changes: Added 1 additional target.

Unit tests output excerpts

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.awssamples.ec2instancetypes.hook.PreUpdateHookHandlerTest
[INFO] Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.888 s - in com.awssamples.ec2instancetypes.hook.PreUpdateHookHandlerTest
[INFO] Running com.awssamples.ec2instancetypes.hook.PreCreateHookHandlerTest
[INFO] Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 s - in com.awssamples.ec2instancetypes.hook.PreCreateHookHandlerTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 88, Failures: 0, Errors: 0, Skipped: 0

Contract tests output excerpts

Suite 1

[...]
collected 24 items / 17 deselected / 7 selected                                                                                                                                                       

[...]/T/hook/handler_pre_create.py::contract_pre_create_success PASSED                                            [ 14%]
[...]/T/hook/handler_pre_create.py::contract_pre_create_failed PASSED                                             [ 28%]
[...]/T/hook/handler_pre_create.py::contract_pre_create_failed_unsupported_target SKIPPED (No wildcard hook t...) [ 42%]
[...]/T/hook/handler_pre_update.py::contract_pre_update_success PASSED                                            [ 57%]
[...]/T/hook/handler_pre_update.py::contract_pre_update_failed PASSED                                             [ 71%]
[...]/T/hook/handler_pre_update.py::contract_pre_update_failed_unsupported_target SKIPPED (No wildcard hook t...) [ 85%]
[...]/T/resource/handler_misc.py::contract_check_asserts_work PASSED                                              [100%]

[...] 5 passed, 2 skipped, 17 deselected in 1561.42s (0:26:01) [...]

Suite 2

[...]
collected 24 items / 17 deselected / 7 selected                                                                                                                                                       

[...]/T/hook/handler_pre_create.py::contract_pre_create_success PASSED                                            [ 14%]
[...]/T/hook/handler_pre_create.py::contract_pre_create_failed PASSED                                             [ 28%]
[...]/T/hook/handler_pre_create.py::contract_pre_create_failed_unsupported_target SKIPPED (No wildcard hook t...) [ 42%]
[...]/T/hook/handler_pre_update.py::contract_pre_update_success PASSED                                            [ 57%]
[...]/T/hook/handler_pre_update.py::contract_pre_update_failed PASSED                                             [ 71%]
[...]/T/hook/handler_pre_update.py::contract_pre_update_failed_unsupported_target SKIPPED (No wildcard hook t...) [ 85%]
[...]/T/resource/handler_misc.py::contract_check_asserts_work PASSED                                              [100%]

[...] 5 passed, 2 skipped, 17 deselected in 2014.74s (0:33:34) [...]

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.