mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
e2e: restore volume lifecycle checks for csi-hostpath driver
These tests were previously disabled to work around #79980 https://github.com/kubernetes/kubernetes/commit/f1e1f3a416b70bafadf961518c330ce3b1b5459
This commit is contained in:
parent
daa181d92e
commit
c8d3cc5c07
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user