kubernetes/test/e2e/storage
Anusha Ragunathan b13d35caf7 Fix Panic in PersistentVolumes:vsphere
Bootstrap initializes the necessary vSphere objects before the tests are
run. A call to Bootstrap was missing in persistent_volumes-vsphere.go's
BeforeEach. This results in Panic while running e2e tests for 'vsphere'
provider with a stack trace like this:

  	/usr/local/go/src/runtime/panic.go:502 +0x229
  github.com/docker/kube-e2e-image/vendor/k8s.io/kubernetes/test/e2e/storage/vsphere.glob..func1.1()
  	/go/src/github.com/docker/kube-e2e-image/vendor/k8s.io/kubernetes/test/e2e/storage/vsphere/persistent_volumes-vsphere.go:77
+0xa21
  github.com/docker/kube-e2e-image/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc4217c9b60,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
  	/go/src/github.com/docker/kube-e2e-image/e2e_test.go:88 +0x2c8
  testing.tRunner(0xc4206e01e0, 0x4212900)
  	/usr/local/go/src/testing/testing.go:777 +0xd0
  created by testing.(*T).Run
  	/usr/local/go/src/testing/testing.go:824 +0x2e0

This change fixes the Panic by calling Bootstrap.

Testing:
After this change, tests with FOCUS set to "PersistentVolumes:vsphere"
 dont Panic. They pass as expected.

Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
2018-09-21 13:46:58 -07:00
..
drivers Merge pull request #68569 from davidz627/fix/driverTestResources 2018-09-12 21:44:42 -07:00
testpatterns Refactor volume test in a similar way to csi tests 2018-08-29 14:39:01 +00:00
testsuites Fixed leaking dynamic provioning test PDs 2018-09-14 15:14:17 -07:00
utils Update external provisioner test to use latest nfs-provisioner 2018-08-31 16:26:02 -04:00
vsphere Fix Panic in PersistentVolumes:vsphere 2018-09-21 13:46:58 -07:00
BUILD Updating CSI e2e test to create CSI CRDs; storing CRD spec in a common location 2018-09-18 14:25:00 -07:00
csi_objects.go Updating CSI e2e test to create CSI CRDs; storing CRD spec in a common location 2018-09-18 14:25:00 -07:00
csi_volumes.go Updating CSI e2e test to create CSI CRDs; storing CRD spec in a common location 2018-09-18 14:25:00 -07:00
empty_dir_wrapper.go Replace git volume with configmap in emptydir wrapper conflict test 2018-08-29 14:12:14 -04:00
ephemeral_volume.go Refactor volume test in a similar way to csi tests 2018-08-29 14:39:01 +00:00
flexvolume.go Allow running various storage e2e tests on custom images 2018-08-09 17:02:02 -07:00
generic_persistent_volume-disruptive.go Include PV wait confirmation for Disruptive PV tests 2018-09-17 16:37:23 -07:00
in_tree_volumes.go Merge pull request #68099 from mkimuram/issue/68093 2018-08-30 18:34:42 -07:00
mounted_volume_resize.go Remove feature tags from e2e test for resize 2018-05-25 15:32:44 -04:00
nfs_persistent_volume-disruptive.go GetMountRefs should not fail if the path supplied does not exist anymore. It has no mount references 2018-09-17 17:35:12 -07:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
pd.go e2e test harness - use busybox from dockerhub 2018-08-07 11:22:16 -04:00
persistent_volumes-gce.go Remove the use of storage class beta annotations in e2e tests. 2018-04-10 15:29:08 +08:00
persistent_volumes-local.go Fix gce localssd pv tests 2018-09-05 18:25:47 -07:00
persistent_volumes.go PVC Protection: Wait for Pod delete 2018-08-13 13:57:36 -05:00
pv_protection.go Wait for Available in PV protection test 2018-08-16 23:27:38 +00:00
pvc_protection.go Enable PV protection test by default 2018-02-23 16:59:22 +01:00
regional_pd.go Fix size of repd e2e to use Gi 2018-09-10 13:29:52 -07:00
subpath.go Fix multizone gce pd subpath test 2018-08-30 13:53:04 -07:00
volume_expand.go Remove feature tags from e2e test for resize 2018-05-25 15:32:44 -04:00
volume_metrics.go Add more metrics for A/D Controller: 2018-08-15 10:01:57 +02:00
volume_provisioning.go Update external provisioner test to use latest nfs-provisioner 2018-08-31 16:26:02 -04:00
volumes.go Refactor volume test in a similar way to csi tests 2018-08-29 14:39:01 +00:00