Add missing clientset to EBS storage e2e test

A recent refactoring of these tests to use common pod functions requires that the StorageClassTest's Client be set.
This updates the "Invalid AWS KMS key" test to set its Client similar to other tests in the file.
This commit is contained in:
Peter Rifel 2021-04-24 09:28:25 -05:00
parent c1418fff4a
commit bdd6d8df36
No known key found for this signature in database
GPG Key ID: BC6469E5B16DB2B6

View File

@ -825,6 +825,7 @@ var _ = utils.SIGDescribe("Dynamic Provisioning", func() {
ginkgo.It("should report an error and create no PV", func() { ginkgo.It("should report an error and create no PV", func() {
e2eskipper.SkipUnlessProviderIs("aws") e2eskipper.SkipUnlessProviderIs("aws")
test := testsuites.StorageClassTest{ test := testsuites.StorageClassTest{
Client: c,
Name: "AWS EBS with invalid KMS key", Name: "AWS EBS with invalid KMS key",
Provisioner: "kubernetes.io/aws-ebs", Provisioner: "kubernetes.io/aws-ebs",
Timeouts: f.Timeouts, Timeouts: f.Timeouts,