![]() This yaml file uses `docker.io/alpine/socat:1.7.4.3-r0`, either we figure out how to replace the image or just eliminate the yaml itself if it is not being used for testing anything in this repository. Found this when we run `e2e.test --list-images`, the dockerhub image reference above shows up which gives a false impression that we depend on this image for our testing purposes. Also we should NOT depend on a dockerhub image anyways! Signed-off-by: Davanum Srinivas <davanum@gmail.com> |
||
---|---|---|
.. | ||
auth/encrypt | ||
cluster-dns | ||
dra | ||
flexvolume | ||
guestbook | ||
ingress | ||
kubectl | ||
sample-device-plugin | ||
scheduling | ||
serviceloadbalancer | ||
statefulset | ||
storage-csi | ||
embed.go | ||
pod | ||
rbd-storage-class.yaml | ||
README.md |
test/e2e/testing-manifests
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/e2e/testing-manifests/README.md)
.
This is needed since migrating to //go:embed from go-bindata.