mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Enable windows ntfs e2e storage tests for aws driver
This commit is contained in:
parent
51615f691d
commit
02530b9ffb
@ -1514,6 +1514,7 @@ func InitAwsDriver() testsuites.TestDriver {
|
|||||||
SupportedFsType: sets.NewString(
|
SupportedFsType: sets.NewString(
|
||||||
"", // Default fsType
|
"", // Default fsType
|
||||||
"ext3",
|
"ext3",
|
||||||
|
"ntfs",
|
||||||
),
|
),
|
||||||
SupportedMountOption: sets.NewString("debug", "nouid32"),
|
SupportedMountOption: sets.NewString("debug", "nouid32"),
|
||||||
Capabilities: map[testsuites.Capability]bool{
|
Capabilities: map[testsuites.Capability]bool{
|
||||||
@ -1580,11 +1581,17 @@ func (a *awsDriver) GetClaimSize() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (a *awsDriver) PrepareTest(f *framework.Framework) (*testsuites.PerTestConfig, func()) {
|
func (a *awsDriver) PrepareTest(f *framework.Framework) (*testsuites.PerTestConfig, func()) {
|
||||||
return &testsuites.PerTestConfig{
|
config := &testsuites.PerTestConfig{
|
||||||
Driver: a,
|
Driver: a,
|
||||||
Prefix: "aws",
|
Prefix: "aws",
|
||||||
Framework: f,
|
Framework: f,
|
||||||
}, func() {}
|
}
|
||||||
|
if framework.NodeOSDistroIs("windows") {
|
||||||
|
config.ClientNodeSelector = map[string]string{
|
||||||
|
"beta.kubernetes.io/os": "windows",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return config, func() {}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Fix authorization error in attach operation and uncomment below
|
// TODO: Fix authorization error in attach operation and uncomment below
|
||||||
|
Loading…
Reference in New Issue
Block a user