Merge pull request #108997 from dobsonj/issue79980
Fix volume reconstruction for CSI ephemeral volumes
This commit is contained in:
@@ -40,7 +40,6 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
@@ -246,14 +245,6 @@ func (h *hostpathCSIDriver) PrepareTest(f *framework.Framework) (*storageframewo
|
||||
NodeName: node.Name,
|
||||
}
|
||||
|
||||
// Disable volume lifecycle checks due to issue #103651 for the one
|
||||
// test that it breaks.
|
||||
// TODO: enable this check once issue is resolved for csi-host-path driver
|
||||
// (https://github.com/kubernetes/kubernetes/pull/104858).
|
||||
if regexp.MustCompile("should unmount if pod is.*deleted while kubelet is down").MatchString(ginkgo.CurrentGinkgoTestDescription().FullTestText) {
|
||||
o.DriverContainerArguments = append(o.DriverContainerArguments, "--check-volume-lifecycle=false")
|
||||
}
|
||||
|
||||
cleanup, err := utils.CreateFromManifests(config.Framework, driverNamespace, func(item interface{}) error {
|
||||
if err := utils.PatchCSIDeployment(config.Framework, o, item); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user