Skip to content

Conversation

@aws-gopher
Copy link
Owner

Run integration test with API key after local tests.
Update integration test for go1.23

  • Add testContext(*testing.T) context.Context in ./test package, with version-specific implementations matching package unstructured
  • Add randText() string in ./test package. Version-specific implmentation for go1.24 and later delegates to crypto/rand.Text, while the implementation for go1.23 simply copies the body of crypto/rand.Text into a local implementation.

- Add `testContext(*testing.T) context.Context` in `./test` package, with version-specific implementations matching `package unstructured`
- Add `randText() string` in `./test` package. Version-specific implmentation for go1.24 and later delegates to `crypto/rand.Text`, while the implementation for go1.23 simply copies the body of `crypto/rand.Text` into a local implementation.
@aws-gopher aws-gopher merged commit 2844d20 into main Aug 22, 2025
3 checks passed
@aws-gopher aws-gopher deleted the ci-integration-test branch August 22, 2025 14:48
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