mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. refactor pd.go for future tests **What this PR does / why we need it**: Refactored _test/e2e/storage/pd.go_ so that it will be easier to add new tests, which I plan on doing to address issue 52676 1. Condenses 8 `It` blocks into 3 table driven tests. 2. Adds several `By` descriptions and `Logf` messages. 3. provides more consistent formatting and messages. **Special notes for your reviewer**: The diff is large but mostly I've not altered any test. The one semantic change I made was to remove the call to verify a write to a PD when, in fact, nothing had been written yet. This was essentially a no-op since the verify code returned immediately if the passed-in map was empty (which it was since nothing had been written). ```release-note NONE ``` cc @jingxu97 @copejon |
||
---|---|---|
.. | ||
BUILD | ||
OWNERS | ||
empty_dir_wrapper.go | ||
flexvolume.go | ||
framework.go | ||
pd.go | ||
persistent_volumes-disruptive.go | ||
persistent_volumes-gce.go | ||
persistent_volumes-local.go | ||
persistent_volumes-vsphere.go | ||
persistent_volumes.go | ||
pv_reclaimpolicy.go | ||
pvc_label_selector.go | ||
volume_io.go | ||
volume_metrics.go | ||
volume_provisioning.go | ||
volumes.go | ||
vsphere_utils.go | ||
vsphere_volume_cluster_ds.go | ||
vsphere_volume_datastore.go | ||
vsphere_volume_diskformat.go | ||
vsphere_volume_disksize.go | ||
vsphere_volume_fstype.go | ||
vsphere_volume_ops_storm.go | ||
vsphere_volume_placement.go | ||
vsphere_volume_vsan_policy.go |