mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +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(
|
||||
"", // Default fsType
|
||||
"ext3",
|
||||
"ntfs",
|
||||
),
|
||||
SupportedMountOption: sets.NewString("debug", "nouid32"),
|
||||
Capabilities: map[testsuites.Capability]bool{
|
||||
@ -1580,11 +1581,17 @@ func (a *awsDriver) GetClaimSize() string {
|
||||
}
|
||||
|
||||
func (a *awsDriver) PrepareTest(f *framework.Framework) (*testsuites.PerTestConfig, func()) {
|
||||
return &testsuites.PerTestConfig{
|
||||
config := &testsuites.PerTestConfig{
|
||||
Driver: a,
|
||||
Prefix: "aws",
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user