Enable windows ntfs e2e storage tests for aws driver

This commit is contained in:
Matthew Wong 2019-07-02 21:36:54 +00:00
parent 51615f691d
commit 02530b9ffb

View File

@ -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