kubernetes/test/e2e/testing-manifests
Patrick Ohly 3adcf11b45 e2e storage: use embedded mock CSI driver
This replaces embedding of JavaScript code into the mock driver that
runs inside the cluster with Go callbacks which run inside the
e2e.test suite itself. In contrast to the JavaScript hooks, they have
direct access to all parameters and can fabricate arbitrary responses,
not just error codes.

Because the callbacks run in the same process as the test itself, it
is possible to set up two-way communication via shared variables or
channels. This opens the door for writing better tests. Some of the
existing tests that poll mock driver output could be simplified, but
that can be addressed later.

For now, only tests using hooks use embedding. How gRPC calls are
retrieved is abstracted behind the CSIMockTestDriver interface, so
tests don't need to be modified when switching between embedding
and remote mock driver.
2021-03-01 19:22:37 +01:00
..
flexvolume We do not pass device path to unmount device 2018-12-03 17:31:01 -05:00
guestbook s/master/primary in agnhost guestbook usage 2020-06-24 12:14:33 -07:00
ingress Migrate ingress test manifests to networking API group 2020-04-24 20:41:48 +02:00
kubectl test/e2e: Busybox image is not being templatized 2020-09-16 14:54:03 -04:00
scheduling update pause to 3.4.1 for tests(e2e) 2021-02-05 21:32:53 +08:00
serviceloadbalancer Use proper manifest images 2018-09-28 04:17:07 +00:00
statefulset test images: use recently promoted images 2021-01-28 10:09:00 -08:00
storage-csi e2e storage: use embedded mock CSI driver 2021-03-01 19:22:37 +01:00
pod Remove examples directory 2018-04-24 19:45:43 +01:00
rbd-storage-class.yaml Remove examples directory 2018-04-24 19:45:43 +01:00
sample-device-plugin.yaml test images: use recently promoted images 2021-01-28 10:09:00 -08:00