mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-22 10:00:21 -04:00
The latest pause version is 3.10.2 but due to the introduction of the PATCH level version to the pause image (previously was only MAJOR.MINOR), various files have remained on an older version. Either 3.10 or 3.10.1. Our validation with build/dependencies.yaml ./hack/verify-external-dependencies.sh did not account for that. |
||
|---|---|---|
| .. | ||
| doc-yaml | ||
| pkg/kubectl | ||
| embed.go | ||
| README.md | ||
test/fixtures
Embedded Test Data
In case one needs to use any test fixture inside your tests and those are defined inside this directory, they need to be added to the //go:embed directive in embed.go.
For example, if one wants to include this Readme as a test fixture (potential bad idea in reality!),
// embed.go
...
//go:embed some other files README.md
...
This fixture can be accessed in the e2e tests using test/e2e/framework/testfiles.Read like
testfiles.Read("test/fixtures/README.md).
This is needed since migrating to //go:embed from go-bindata.