Skip to content

Commit e313841

Browse files
committed
fix
1 parent f09b7bb commit e313841

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/e2e/testsuites/dynamically_provisioned_volume_group_snapshot_tester.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ type DynamicallyProvisionedVolumeGroupSnapshotTest struct {
5757
func (t *DynamicallyProvisionedVolumeGroupSnapshotTest) Run(ctx context.Context, client clientset.Interface, restclient restclientset.Interface, restsnapshotclient restclientset.Interface, namespace *v1.Namespace) {
5858
volumes := []VolumeDetails{}
5959
tpods := []*TestPod{}
60-
tpvcs := []TestPersistentVolumeClaim{}
60+
tpvcs := []*TestPersistentVolumeClaim{}
6161
for i := range t.GroupPods {
6262
ginkgo.By("Running test for pod " + strconv.Itoa(i))
6363
tpod := NewTestPod(client, namespace, t.GroupPods[i].Cmd, t.GroupPods[i].IsWindows, t.GroupPods[i].WinServerVer)
@@ -74,6 +74,8 @@ func (t *DynamicallyProvisionedVolumeGroupSnapshotTest) Run(ctx context.Context,
7474
tpod.WaitForSuccess(ctx)
7575
ginkgo.By("sleep 10s to make sure the data is written to the disk")
7676
time.Sleep(time.Millisecond * 10000)
77+
tpods = append(tpods, tpod)
78+
tpvcs = append(tpvcs, tpvc)
7779
}
7880

7981
ginkgo.By("Checking Prow test resource group")

0 commit comments

Comments
 (0)