Added test script for epg_to_contract #24
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
$ make fmt && make testacc
gofmt -w $(find . -name '*.go' |grep -v vendor)
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -timeout 120m
? github.com/terraform-providers/terraform-provider-aci [no test files]
? github.com/terraform-providers/terraform-provider-aci/aci [no test files]
=== RUN TestAccAciEPGToContractDataSource_Basic
=== STEP Basic: Testing EPG to Contract data source without Application EPG
=== STEP Basic: Testing EPG to Contract data source without Contract
=== STEP Basic: Testing EPG to Contract data source without Application EPG
=== STEP Basic: Testing EPG to Contract data source
=== STEP Basic: Testing EPG to Contract data source with updated resource
=== STEP Basic: Testing EPG to Contract data source with updated resource
=== PAUSE TestAccAciEPGToContractDataSource_Basic
=== RUN TestProvider
— PASS: TestProvider (0.02s)
=== RUN TestProvider_impl
— PASS: TestProvider_impl (0.00s)
=== RUN TestAccAciEPGToContract_Basic
=== STEP Basic: testing epg_to_contract without creating application_epg
=== STEP Basic: testing epg_to_contract without creating contract
=== STEP Basic: testing epg_to_contract without passing contract type attribute
=== STEP Basic: testing EPG to Contract creation with required paramters only
=== STEP Basic: testing EPG to Contract creation with optional paramters
=== STEP Basic: testing EPG to Contract creation with Updated Contract
=== STEP Basic: testing EPG to Contract creation with required paramters only
=== STEP Basic: testing EPG to Contract creation with Updated Contract
=== STEP Basic: testing EPG to Contract creation with required paramters only
=== STEP Basic: testing EPG to Contract creation with Updated Contract Type
=== PAUSE TestAccAciEPGToContract_Basic
=== RUN TestAccAciEPGToContract_Update
=== STEP Basic: testing EPG to Contract creation with required paramters only
=== STEP Basic: testing EPG to Contract match_t = All
=== STEP Basic: testing EPG to Contract match_t = AtmostOne
=== STEP Basic: testing EPG to Contract match_t = None
=== STEP Basic: testing EPG to Contract prio = level2
=== STEP Basic: testing EPG to Contract prio = level3
=== STEP Basic: testing EPG to Contract prio = level4
=== STEP Basic: testing EPG to Contract prio = level5
=== STEP Basic: testing EPG to Contract prio = level6
=== PAUSE TestAccAciEPGToContract_Update
=== RUN TestAccAciEPGToContract_NegativeCases
=== STEP Basic: testing EPG to Contract creation with required paramters only
=== STEP Basic: testing EPG to Contract updation with Invalid application_epg_dn
=== STEP Basic: testing EPG to Contract updation with Invalid application_epg_dn
=== STEP Basic: testing EPG to Contract annotation = 3ux04wigv800kquff8icdg37gr83zdnbc10qtdj0hfsjj9vqyr93oie3mzwtyrxmfa0wtpzp9uumpseeqmojyh6ktihfpnmi8lpwyety4g0pygnsavwslbg46x0m3n6o9
=== STEP Basic: testing EPG to Contract hxonbckgnw = ux32bqeyf8
=== STEP Basic: testing EPG to Contract match_t = ux32bqeyf8
=== STEP Basic: testing EPG to Contract prio = ux32bqeyf8
=== STEP Basic: testing EPG to Contract creation with required paramters only
=== PAUSE TestAccAciEPGToContract_NegativeCases
=== RUN TestAccAciEPGToContracts_MultipleCreateDelete
=== STEP creating multiple epg_to_contracts
=== STEP testing EPG To Contract destroy
— PASS: TestAccAciEPGToContracts_MultipleCreateDelete (64.91s)
=== CONT TestAccAciEPGToContractDataSource_Basic
=== CONT TestAccAciEPGToContract_Update
=== CONT TestAccAciEPGToContract_Basic
=== CONT TestAccAciEPGToContract_NegativeCases
=== STEP testing EPG To Contract destroy
— PASS: TestAccAciEPGToContractDataSource_Basic (132.44s)
=== STEP testing EPG To Contract destroy
— PASS: TestAccAciEPGToContract_NegativeCases (183.90s)
=== STEP testing EPG To Contract destroy
— PASS: TestAccAciEPGToContract_Basic (356.91s)
=== STEP testing EPG To Contract destroy
— PASS: TestAccAciEPGToContract_Update (384.36s)
PASS
ok github.com/terraform-providers/terraform-provider-aci/testacc 450.013s