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

Serialize AppSync acceptance tests #21400

Merged
merged 6 commits into from
Oct 20, 2021
Merged

Serialize AppSync acceptance tests #21400

merged 6 commits into from
Oct 20, 2021

Conversation

ewbankkit
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #21399

Output from acceptance testing:

Commercial

% make testacc TESTARGS='-run=TestAccAppSync_serial' PKG_NAME=internal/service/appsync
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/appsync -v -count 1 -parallel 20 -run=TestAccAppSync_serial -timeout 180m
=== RUN   TestAccAppSync_serial
=== RUN   TestAccAppSync_serial/APIKey
=== RUN   TestAccAppSync_serial/APIKey/basic
=== RUN   TestAccAppSync_serial/APIKey/description
=== RUN   TestAccAppSync_serial/APIKey/expires
=== RUN   TestAccAppSync_serial/DataSource
=== RUN   TestAccAppSync_serial/DataSource/basic
=== RUN   TestAccAppSync_serial/DataSource/description
=== RUN   TestAccAppSync_serial/DataSource/DynamoDB_region
=== RUN   TestAccAppSync_serial/DataSource/ElasticSearch_region
=== RUN   TestAccAppSync_serial/DataSource/HTTP_endpoint
=== RUN   TestAccAppSync_serial/DataSource/type
=== RUN   TestAccAppSync_serial/DataSource/Type_http
=== RUN   TestAccAppSync_serial/DataSource/Type_lambda
=== RUN   TestAccAppSync_serial/DataSource/Type_none
=== RUN   TestAccAppSync_serial/DataSource/DynamoDB_useCallerCredentials
=== RUN   TestAccAppSync_serial/DataSource/Type_dynamoDB
=== RUN   TestAccAppSync_serial/DataSource/Type_elasticSearch
=== RUN   TestAccAppSync_serial/GraphQLAPI
=== RUN   TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_cognitoUserPools
=== RUN   TestAccAppSync_serial/GraphQLAPI/disappears
=== RUN   TestAccAppSync_serial/GraphQLAPI/authenticationType
=== RUN   TestAccAppSync_serial/GraphQLAPI/AuthenticationType_awsIAM
=== RUN   TestAccAppSync_serial/GraphQLAPI/log
=== RUN   TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_authTTL
=== RUN   TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_awsIAM
=== RUN   TestAccAppSync_serial/GraphQLAPI/AuthenticationType_apiKey
=== RUN   TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_iatTTL
=== RUN   TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_issuer
=== RUN   TestAccAppSync_serial/GraphQLAPI/UserPool_awsRegion
=== RUN   TestAccAppSync_serial/GraphQLAPI/basic
=== RUN   TestAccAppSync_serial/GraphQLAPI/AuthenticationType_amazonCognitoUserPools
=== RUN   TestAccAppSync_serial/GraphQLAPI/Log_excludeVerboseContent
=== RUN   TestAccAppSync_serial/GraphQLAPI/UserPool_defaultAction
=== RUN   TestAccAppSync_serial/GraphQLAPI/tags
=== RUN   TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_openIDConnect
=== RUN   TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_multiple
=== RUN   TestAccAppSync_serial/GraphQLAPI/xrayEnabled
=== RUN   TestAccAppSync_serial/GraphQLAPI/schema
=== RUN   TestAccAppSync_serial/GraphQLAPI/AuthenticationType_openIDConnect
=== RUN   TestAccAppSync_serial/GraphQLAPI/Log_fieldLogLevel
=== RUN   TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_clientID
=== RUN   TestAccAppSync_serial/GraphQLAPI/name
=== RUN   TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_apiKey
=== RUN   TestAccAppSync_serial/Function
=== RUN   TestAccAppSync_serial/Function/disappears
=== RUN   TestAccAppSync_serial/Function/description
=== RUN   TestAccAppSync_serial/Function/responseMappingTemplate
=== RUN   TestAccAppSync_serial/Function/basic
=== RUN   TestAccAppSync_serial/Resolver
=== RUN   TestAccAppSync_serial/Resolver/multipleResolvers
=== RUN   TestAccAppSync_serial/Resolver/basic
=== RUN   TestAccAppSync_serial/Resolver/DataSource_lambda
=== RUN   TestAccAppSync_serial/Resolver/requestTemplate
=== RUN   TestAccAppSync_serial/Resolver/responseTemplate
=== RUN   TestAccAppSync_serial/Resolver/pipeline
=== RUN   TestAccAppSync_serial/Resolver/caching
=== RUN   TestAccAppSync_serial/Resolver/disappears
=== RUN   TestAccAppSync_serial/Resolver/dataSource
--- PASS: TestAccAppSync_serial (3399.16s)
    --- PASS: TestAccAppSync_serial/APIKey (81.11s)
        --- PASS: TestAccAppSync_serial/APIKey/basic (21.77s)
        --- PASS: TestAccAppSync_serial/APIKey/description (31.33s)
        --- PASS: TestAccAppSync_serial/APIKey/expires (28.00s)
    --- PASS: TestAccAppSync_serial/DataSource (2464.59s)
        --- PASS: TestAccAppSync_serial/DataSource/basic (15.46s)
        --- PASS: TestAccAppSync_serial/DataSource/description (31.14s)
        --- PASS: TestAccAppSync_serial/DataSource/DynamoDB_region (36.75s)
        --- PASS: TestAccAppSync_serial/DataSource/ElasticSearch_region (1225.62s)
        --- PASS: TestAccAppSync_serial/DataSource/HTTP_endpoint (27.17s)
        --- PASS: TestAccAppSync_serial/DataSource/type (20.30s)
        --- PASS: TestAccAppSync_serial/DataSource/Type_http (13.59s)
        --- PASS: TestAccAppSync_serial/DataSource/Type_lambda (32.60s)
        --- PASS: TestAccAppSync_serial/DataSource/Type_none (13.36s)
        --- PASS: TestAccAppSync_serial/DataSource/DynamoDB_useCallerCredentials (58.44s)
        --- PASS: TestAccAppSync_serial/DataSource/Type_dynamoDB (21.72s)
        --- PASS: TestAccAppSync_serial/DataSource/Type_elasticSearch (968.44s)
    --- PASS: TestAccAppSync_serial/GraphQLAPI (469.03s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_cognitoUserPools (16.81s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/disappears (9.55s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/authenticationType (22.52s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_awsIAM (12.48s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/log (15.54s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_authTTL (20.35s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_awsIAM (11.43s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_apiKey (11.44s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_iatTTL (21.01s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_issuer (20.19s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/UserPool_awsRegion (23.77s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/basic (12.83s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_amazonCognitoUserPools (14.67s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/Log_excludeVerboseContent (22.82s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/UserPool_defaultAction (26.08s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/tags (20.76s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_openIDConnect (11.57s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_multiple (16.35s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/xrayEnabled (18.07s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/schema (28.08s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_openIDConnect (15.48s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/Log_fieldLogLevel (41.63s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_clientID (23.45s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/name (19.98s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_apiKey (12.18s)
    --- PASS: TestAccAppSync_serial/Function (164.62s)
        --- PASS: TestAccAppSync_serial/Function/disappears (29.14s)
        --- PASS: TestAccAppSync_serial/Function/description (52.63s)
        --- PASS: TestAccAppSync_serial/Function/responseMappingTemplate (23.37s)
        --- PASS: TestAccAppSync_serial/Function/basic (59.48s)
    --- PASS: TestAccAppSync_serial/Resolver (219.82s)
        --- PASS: TestAccAppSync_serial/Resolver/multipleResolvers (27.12s)
        --- PASS: TestAccAppSync_serial/Resolver/basic (19.30s)
        --- PASS: TestAccAppSync_serial/Resolver/DataSource_lambda (33.28s)
        --- PASS: TestAccAppSync_serial/Resolver/requestTemplate (33.20s)
        --- PASS: TestAccAppSync_serial/Resolver/responseTemplate (27.65s)
        --- PASS: TestAccAppSync_serial/Resolver/pipeline (18.68s)
        --- PASS: TestAccAppSync_serial/Resolver/caching (17.50s)
        --- PASS: TestAccAppSync_serial/Resolver/disappears (14.48s)
        --- PASS: TestAccAppSync_serial/Resolver/dataSource (28.60s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/appsync	3403.242s

GovCloud

% make testacc TESTARGS='-run=TestAccAppSync_serial' PKG_NAME=internal/service/appsync 
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/appsync -v -count 1 -parallel 20 -run=TestAccAppSync_serial -timeout 180m
=== RUN   TestAccAppSync_serial
=== RUN   TestAccAppSync_serial/Function
=== RUN   TestAccAppSync_serial/Function/responseMappingTemplate
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Function/basic
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Function/disappears
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Function/description
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Resolver
=== RUN   TestAccAppSync_serial/Resolver/dataSource
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Resolver/responseTemplate
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Resolver/multipleResolvers
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Resolver/pipeline
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Resolver/caching
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Resolver/basic
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Resolver/disappears
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Resolver/DataSource_lambda
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/Resolver/requestTemplate
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/APIKey
=== RUN   TestAccAppSync_serial/APIKey/basic
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/APIKey/description
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/APIKey/expires
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource
=== RUN   TestAccAppSync_serial/DataSource/description
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource/DynamoDB_useCallerCredentials
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource/HTTP_endpoint
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource/type
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource/Type_elasticSearch
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource/Type_none
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource/basic
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource/DynamoDB_region
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource/ElasticSearch_region
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource/Type_dynamoDB
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource/Type_http
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/DataSource/Type_lambda
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI
=== RUN   TestAccAppSync_serial/GraphQLAPI/tags
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/schema
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/Log_fieldLogLevel
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/Log_excludeVerboseContent
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_issuer
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/name
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_clientID
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_iatTTL
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/UserPool_awsRegion
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/authenticationType
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/AuthenticationType_apiKey
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/AuthenticationType_awsIAM
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/AuthenticationType_amazonCognitoUserPools
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/log
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/UserPool_defaultAction
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_awsIAM
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_openIDConnect
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/xrayEnabled
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/disappears
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/AuthenticationType_openIDConnect
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_cognitoUserPools
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/basic
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_authTTL
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_apiKey
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
=== RUN   TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_multiple
    acctest.go:694: skipping tests; partition aws-us-gov does not support appsync service
--- PASS: TestAccAppSync_serial (1.58s)
    --- PASS: TestAccAppSync_serial/Function (1.57s)
        --- SKIP: TestAccAppSync_serial/Function/responseMappingTemplate (1.57s)
        --- SKIP: TestAccAppSync_serial/Function/basic (0.00s)
        --- SKIP: TestAccAppSync_serial/Function/disappears (0.00s)
        --- SKIP: TestAccAppSync_serial/Function/description (0.00s)
    --- PASS: TestAccAppSync_serial/Resolver (0.00s)
        --- SKIP: TestAccAppSync_serial/Resolver/dataSource (0.00s)
        --- SKIP: TestAccAppSync_serial/Resolver/responseTemplate (0.00s)
        --- SKIP: TestAccAppSync_serial/Resolver/multipleResolvers (0.00s)
        --- SKIP: TestAccAppSync_serial/Resolver/pipeline (0.00s)
        --- SKIP: TestAccAppSync_serial/Resolver/caching (0.00s)
        --- SKIP: TestAccAppSync_serial/Resolver/basic (0.00s)
        --- SKIP: TestAccAppSync_serial/Resolver/disappears (0.00s)
        --- SKIP: TestAccAppSync_serial/Resolver/DataSource_lambda (0.00s)
        --- SKIP: TestAccAppSync_serial/Resolver/requestTemplate (0.00s)
    --- PASS: TestAccAppSync_serial/APIKey (0.00s)
        --- SKIP: TestAccAppSync_serial/APIKey/basic (0.00s)
        --- SKIP: TestAccAppSync_serial/APIKey/description (0.00s)
        --- SKIP: TestAccAppSync_serial/APIKey/expires (0.00s)
    --- PASS: TestAccAppSync_serial/DataSource (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/description (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/DynamoDB_useCallerCredentials (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/HTTP_endpoint (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/type (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/Type_elasticSearch (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/Type_none (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/basic (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/DynamoDB_region (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/ElasticSearch_region (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/Type_dynamoDB (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/Type_http (0.00s)
        --- SKIP: TestAccAppSync_serial/DataSource/Type_lambda (0.00s)
    --- PASS: TestAccAppSync_serial/GraphQLAPI (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/tags (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/schema (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/Log_fieldLogLevel (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/Log_excludeVerboseContent (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_issuer (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/name (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_clientID (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_iatTTL (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/UserPool_awsRegion (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/authenticationType (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_apiKey (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_awsIAM (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_amazonCognitoUserPools (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/log (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/UserPool_defaultAction (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_awsIAM (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_openIDConnect (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/xrayEnabled (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/disappears (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_openIDConnect (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_cognitoUserPools (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/basic (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_authTTL (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_apiKey (0.00s)
        --- SKIP: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_multiple (0.00s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/appsync	6.051s

@github-actions github-actions bot added service/appsync Issues and PRs that pertain to the appsync service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/L Managed by automation to categorize the size of a PR. labels Oct 20, 2021
@ewbankkit
Copy link
Contributor Author

Given that running time is dominated by the 2 Elasticsearch tests, let's leave them as independent, parallel tests.

Copy link
Contributor

@anGie44 anGie44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As-is LGTM 👍

To leave the elasticsearch-related tests as parallel, do you mean by moving them out of the new serial test's DataSource testCases?

--- PASS: TestAccAppSync_serial (3751.74s)
    --- PASS: TestAccAppSync_serial/Resolver (860.48s)
        --- PASS: TestAccAppSync_serial/Resolver/disappears (269.68s)
        --- PASS: TestAccAppSync_serial/Resolver/dataSource (312.17s)
        --- PASS: TestAccAppSync_serial/Resolver/pipeline (62.27s)
        --- PASS: TestAccAppSync_serial/Resolver/caching (18.25s)
        --- PASS: TestAccAppSync_serial/Resolver/basic (18.40s)
        --- PASS: TestAccAppSync_serial/Resolver/DataSource_lambda (40.77s)
        --- PASS: TestAccAppSync_serial/Resolver/requestTemplate (28.97s)
        --- PASS: TestAccAppSync_serial/Resolver/responseTemplate (51.52s)
        --- PASS: TestAccAppSync_serial/Resolver/multipleResolvers (58.45s)
    --- PASS: TestAccAppSync_serial/APIKey (59.87s)
        --- PASS: TestAccAppSync_serial/APIKey/basic (14.98s)
        --- PASS: TestAccAppSync_serial/APIKey/description (22.49s)
        --- PASS: TestAccAppSync_serial/APIKey/expires (22.40s)
    --- PASS: TestAccAppSync_serial/DataSource (2208.23s)
        --- PASS: TestAccAppSync_serial/DataSource/Type_dynamoDB (23.10s)
        --- PASS: TestAccAppSync_serial/DataSource/Type_elasticSearch (1010.54s)
        --- PASS: TestAccAppSync_serial/DataSource/Type_lambda (32.11s)
        --- PASS: TestAccAppSync_serial/DataSource/Type_none (14.52s)
        --- PASS: TestAccAppSync_serial/DataSource/basic (14.46s)
        --- PASS: TestAccAppSync_serial/DataSource/DynamoDB_region (42.45s)
        --- PASS: TestAccAppSync_serial/DataSource/DynamoDB_useCallerCredentials (38.83s)
        --- PASS: TestAccAppSync_serial/DataSource/ElasticSearch_region (949.32s)
        --- PASS: TestAccAppSync_serial/DataSource/HTTP_endpoint (24.99s)
        --- PASS: TestAccAppSync_serial/DataSource/type (21.09s)
        --- PASS: TestAccAppSync_serial/DataSource/Type_http (14.25s)
        --- PASS: TestAccAppSync_serial/DataSource/description (22.56s)
    --- PASS: TestAccAppSync_serial/GraphQLAPI (497.95s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_awsIAM (12.74s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/basic (12.44s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/disappears (9.51s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_apiKey (12.62s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/Log_excludeVerboseContent (38.12s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_openIDConnect (12.98s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/schema (26.70s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_awsIAM (12.24s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_issuer (23.19s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_cognitoUserPools (17.96s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/tags (22.18s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_apiKey (14.54s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AdditionalAuthentication_multiple (17.70s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/xrayEnabled (19.60s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/authenticationType (22.55s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/log (16.98s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_authTTL (21.34s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/name (21.78s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_iatTTL (22.04s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/UserPool_awsRegion (25.43s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/UserPool_defaultAction (28.44s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_amazonCognitoUserPools (15.42s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/AuthenticationType_openIDConnect (16.98s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/Log_fieldLogLevel (33.25s)
        --- PASS: TestAccAppSync_serial/GraphQLAPI/OpenIDConnect_clientID (21.24s)
    --- PASS: TestAccAppSync_serial/Function (125.20s)
        --- PASS: TestAccAppSync_serial/Function/description (38.52s)
        --- PASS: TestAccAppSync_serial/Function/responseMappingTemplate (23.84s)
        --- PASS: TestAccAppSync_serial/Function/basic (40.22s)
        --- PASS: TestAccAppSync_serial/Function/disappears (22.62s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/appsync	3757.046s

@ewbankkit
Copy link
Contributor Author

Yes, forgot to push that commit 😄.

@ewbankkit ewbankkit merged commit 6c6abdd into main Oct 20, 2021
@ewbankkit ewbankkit deleted the t-serialize-appsync branch October 20, 2021 22:34
@github-actions github-actions bot added this to the v3.64.0 milestone Oct 20, 2021
@github-actions
Copy link

github-actions bot commented Nov 4, 2021

This functionality has been released in v3.64.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Pharb added a commit to Pharb/terraform-provider-aws that referenced this pull request Nov 23, 2021
breathingdust pushed a commit that referenced this pull request Dec 10, 2021
…ment (#20857)

* tests/resource/aws_appsync_graphql_api: Update deprecated Providers to ProviderFactories

* resource/aws_appsync_graphql_api: Add `lambda_authorizer_config` argument (#20644)

Issue: #20644
API docs: https://docs.aws.amazon.com/appsync/latest/APIReference/API_LambdaAuthorizerConfig.html

Output from acceptance testing:
```
make testacc TESTARGS='-run=TestAccAWSAppsyncGraphqlApi_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppsyncGraphqlApi_ -timeout 180m
--- PASS: TestAccAWSAppsyncGraphqlApi_basic (147.72s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AdditionalAuthentication_AWSIAM (148.24s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AdditionalAuthentication_APIKey (149.20s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AdditionalAuthentication_OpenIDConnect (149.32s)
--- PASS: TestAccAWSAppsyncGraphqlApi_LogConfig (153.51s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AdditionalAuthentication_CognitoUserPools (173.33s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AdditionalAuthentication_AwsLambda (196.04s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AdditionalAuthentication_Multiple (204.38s)
--- PASS: TestAccAWSAppsyncGraphqlApi_XrayEnabled (214.18s)
--- PASS: TestAccAWSAppsyncGraphqlApi_Name (215.34s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AuthenticationType_AwsLambda (221.80s)
--- PASS: TestAccAWSAppsyncGraphqlApi_OpenIDConnectConfig_AuthTTL (235.05s)
--- PASS: TestAccAWSAppsyncGraphqlApi_Tags (236.82s)
--- PASS: TestAccAWSAppsyncGraphqlApi_UserPoolConfig_AwsRegion (242.45s)
--- PASS: TestAccAWSAppsyncGraphqlApi_LogConfig_ExcludeVerboseContent (250.77s)
--- PASS: TestAccAWSAppsyncGraphqlApi_UserPoolConfig_DefaultAction (250.94s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AuthenticationType_APIKey (116.05s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AuthenticationType_OpenIDConnect (115.22s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AuthenticationType_AmazonCognitoUserPools (125.39s)
--- PASS: TestAccAWSAppsyncGraphqlApi_disappears (65.90s)
--- PASS: TestAccAWSAppsyncGraphqlApi_LambdaAuthorizerConfig_IdentityValidationExpression (281.96s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AuthenticationType_AWSIAM (88.56s)
--- PASS: TestAccAWSAppsyncGraphqlApi_LambdaAuthorizerConfig_AuthorizerUri (294.85s)
--- PASS: TestAccAWSAppsyncGraphqlApi_OpenIDConnectConfig_IatTTL (158.58s)
--- PASS: TestAccAWSAppsyncGraphqlApi_OpenIDConnectConfig_Issuer (154.12s)
--- PASS: TestAccAWSAppsyncGraphqlApi_LogConfig_FieldLogLevel (312.61s)
--- PASS: TestAccAWSAppsyncGraphqlApi_Schema (143.80s)
--- PASS: TestAccAWSAppsyncGraphqlApi_AuthenticationType (126.84s)
--- PASS: TestAccAWSAppsyncGraphqlApi_OpenIDConnectConfig_ClientID (113.13s)
--- PASS: TestAccAWSAppsyncGraphqlApi_LambdaAuthorizerConfig_AuthorizerResultTtlInSeconds (356.98s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       359.589s
```

* resource/aws_appsync_graphql_api: Add changelog entry 20857.txt

* resource/aws_appsync_graphql_api: Terraform fmt in test config

* Revert "tests/resource/aws_appsync_graphql_api: Update deprecated Providers to ProviderFactories"

This reverts commit 1f981fc.

* tests/resource/aws_appsync_graphql_api: Changes from #20000 and #21400

* graphql_api: Re-order map alphabetically (review comment)
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/appsync Issues and PRs that pertain to the appsync service. size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serialize AppSync acceptance tests
2 participants