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

update log streaming destination test #718

Merged
merged 2 commits into from
Jan 10, 2024
Merged

Conversation

leahrob
Copy link
Contributor

@leahrob leahrob commented Jan 10, 2024

updating the test endpoint in the hcp log streaming destination tests to pass tls validation

🛠️ Description

🏗️ Acceptance tests

  • Are there any feature flags that are required to use this functionality?
  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch?

Output from acceptance testing:

TestAccHCPLogStreamingDestinationSplunk
$ make testacc TESTARGS='-run=TestAccHCPLogStreamingDestinationSplunk'

==> Checking that code complies with gofmt requirements...
golangci-lint run --config ./golangci-config.yml 
TF_ACC=1 go test ./internal/... -v -run=TestAccHCPLogStreamingDestinationSplunk -timeout 360m -parallel=10
?       github.com/hashicorp/terraform-provider-hcp/internal/clients/iampolicy  [no test files]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-hcp/internal/clients    (cached) [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-hcp/internal/consul     (cached) [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-hcp/internal/hcpvalidator       (cached) [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-hcp/internal/input      (cached) [no tests to run]
?       github.com/hashicorp/terraform-provider-hcp/internal/provider   [no test files]
?       github.com/hashicorp/terraform-provider-hcp/internal/provider/acctest   [no test files]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-hcp/internal/provider/iam       (cached) [no tests to run]
=== RUN   TestAccHCPLogStreamingDestinationSplunk
--- PASS: TestAccHCPLogStreamingDestinationSplunk (5.79s)
PASS
ok      github.com/hashicorp/terraform-provider-hcp/internal/provider/logstreaming      6.292s
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-hcp/internal/provider/resourcemanager   (cached) [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-hcp/internal/provider/vaultsecrets      (cached) [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-hcp/internal/providersdkv2      (cached) [no tests to run]
...

@leahrob leahrob added the pr/no-changelog Auto-pinning label Jan 10, 2024
@leahrob leahrob marked this pull request as ready for review January 10, 2024 13:42
@leahrob leahrob requested a review from a team as a code owner January 10, 2024 13:42
@leahrob leahrob changed the title update test endpoint update log streaming destination test Jan 10, 2024
@leahrob leahrob merged commit a48fdce into main Jan 10, 2024
6 checks passed
@leahrob leahrob deleted the fix-log-streaming-dest-test branch January 10, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-changelog Auto-pinning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants