Add E2E test for schedule backup creation principle

Signed-off-by: danfengl <danfengl@vmware.com>
This commit is contained in:
danfengl
2023-04-12 10:31:20 +00:00
parent bacec117b9
commit 504b1cba30
8 changed files with 176 additions and 39 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ func (s *StorageClasssChanging) CreateResources() error {
})
By(fmt.Sprintf("Create pod %s in namespace %s", s.podName, s.namespace), func() {
_, err := CreatePodWithPVC(s.Client, s.namespace, s.podName, s.srcStorageClass, "", []string{s.volume}, nil)
_, err := CreatePod(s.Client, s.namespace, s.podName, s.srcStorageClass, "", []string{s.volume}, nil, nil)
Expect(err).To(Succeed())
})
By(fmt.Sprintf("Create ConfigMap %s in namespace %s", s.configmaptName, s.VeleroCfg.VeleroNamespace), func() {