k3s/test/e2e/storage
Kubernetes Submit Queue 6b8e769c8d Merge pull request #53872 from jeffvance/pd-cleanup
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
2017-10-18 05:41:21 -07:00
..
BUILD E2E test cases for Invalid user inputs - disksize, datastore, fstype 2017-10-16 11:42:05 -07:00
OWNERS Add msau42 to storage e2e approvers 2017-09-25 16:28:55 -07:00
empty_dir_wrapper.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
flexvolume.go Added basic Flexvolume dynamic plugin discovery e2e test; added Flexvolume prober unit tests. 2017-08-31 16:50:02 -07:00
framework.go
pd.go review: improve disruptive node tests 2017-10-17 11:56:09 -07:00
persistent_volumes-disruptive.go Merge pull request #52574 from vmware/fix-kubelet-restart-tests 2017-09-23 21:52:49 -07:00
persistent_volumes-gce.go Cleanup storage e2e test names by removing redundant [sig-storage] tags and [Volume] tags 2017-07-20 11:11:40 -07:00
persistent_volumes-local.go Update search string for failed scheduling 2017-10-09 16:10:31 -07:00
persistent_volumes-vsphere.go e2e test changes 2017-08-02 08:06:09 -07:00
persistent_volumes.go Cleanup storage e2e test names by removing redundant [sig-storage] tags and [Volume] tags 2017-07-20 11:11:40 -07:00
pv_reclaimpolicy.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
pvc_label_selector.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
volume_io.go Changed volume IO e2e test to verify file hash instead of content. 2017-09-01 15:23:53 -07:00
volume_metrics.go Fix flake for volume detach metrics 2017-10-11 09:45:06 -04:00
volume_provisioning.go Fixed nil dereference in dynamic provisioning e2e tests 2017-09-20 16:08:23 -07:00
volumes.go update clientset.Core() to clientset.CoreV1() in test 2017-08-14 16:53:55 +08:00
vsphere_utils.go E2E test cases for Invalid user inputs - disksize, datastore, fstype 2017-10-16 11:42:05 -07:00
vsphere_volume_cluster_ds.go Tests to verify volume provisioning on a clustered datastore 2017-10-11 15:31:35 -07:00
vsphere_volume_datastore.go E2E test cases for Invalid user inputs - disksize, datastore, fstype 2017-10-16 11:42:05 -07:00
vsphere_volume_diskformat.go E2E test cases for Invalid user inputs - disksize, datastore, fstype 2017-10-16 11:42:05 -07:00
vsphere_volume_disksize.go E2E test cases for Invalid user inputs - disksize, datastore, fstype 2017-10-16 11:42:05 -07:00
vsphere_volume_fstype.go E2E test cases for Invalid user inputs - disksize, datastore, fstype 2017-10-16 11:42:05 -07:00
vsphere_volume_ops_storm.go E2E test cases for Invalid user inputs - disksize, datastore, fstype 2017-10-16 11:42:05 -07:00
vsphere_volume_placement.go e2e test changes 2017-08-02 08:06:09 -07:00
vsphere_volume_vsan_policy.go E2E test cases for Invalid user inputs - disksize, datastore, fstype 2017-10-16 11:42:05 -07:00