Skip to content

Fix tests for current Go and hermetic transport failures#287

Open
HNO3Miracle wants to merge 1 commit into
hashicorp:mainfrom
HNO3Miracle:fix-tests-current-go
Open

Fix tests for current Go and hermetic transport failures#287
HNO3Miracle wants to merge 1 commit into
hashicorp:mainfrom
HNO3Miracle:fix-tests-current-go

Conversation

@HNO3Miracle

Copy link
Copy Markdown

Description

  • Use explicit format strings where current Go vet rejects non-constant logger format strings.
  • Make the transport failure test hermetic instead of relying on a dial failure path that can vary by environment.

Related Issue

N/A

How Has This Been Tested?

  • go test ./...

Signed-off-by: HNO3Miracle <xiangao.or@isrc.iscas.ac.cn>
@HNO3Miracle HNO3Miracle requested a review from a team as a code owner June 22, 2026 07:54
@hashicorp-cla-app

hashicorp-cla-app Bot commented Jun 22, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@hashicorp-cla-app

Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

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.

1 participant