Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added test script for epg_to_contract #24

Merged
merged 1 commit into from
Dec 21, 2021
Merged

Conversation

RutvikS-crest
Copy link
Owner

$ 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

@RutvikS-crest RutvikS-crest merged commit 0c583d4 into s2-dev Dec 21, 2021
@RutvikS-crest RutvikS-crest deleted the epg-to-contract branch December 21, 2021 10:49
RutvikS-crest added a commit that referenced this pull request Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants