Commit e0faf2d
committed
test: select node for late binding tests
The generic ephemeral volume test runs with a variant that uses late
binding and that failed when the selected node didn't have the driver:
E0301 08:28:16.192962 1 controller.go:984] error syncing claim "17c6176b-3ea7-4363-bc35-eb25c2c20f4e": failed to provision volume with StorageClass "ephemeral-9299-e2e-scmtzhx": error generating accessibility requirements: no topology key found on CSINode csi-prow-worker2
The in-tree hostpath driver deployment avoids that by setting the node
on which test pods may run:
https://github.com/kubernetes/kubernetes/blob/793390e13be91d79150b57abad5710477ab96bd7/test/e2e/storage/drivers/csi.go#L193
We need to do the same when testing the driver externally.1 parent 42479e9 commit e0faf2d
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
248 | 255 | | |
0 commit comments