enable multipod e2es for intree volumes

This commit is contained in:
Michelle Au 2019-03-29 11:37:08 -07:00
parent 81985203bf
commit ac69f83905

View File

@ -96,6 +96,7 @@ func InitNFSDriver() testsuites.TestDriver {
testsuites.CapPersistence: true, testsuites.CapPersistence: true,
testsuites.CapExec: true, testsuites.CapExec: true,
testsuites.CapRWX: true, testsuites.CapRWX: true,
testsuites.CapMultiPODs: true,
}, },
}, },
} }
@ -234,6 +235,7 @@ func InitGlusterFSDriver() testsuites.TestDriver {
testsuites.CapPersistence: true, testsuites.CapPersistence: true,
testsuites.CapExec: true, testsuites.CapExec: true,
testsuites.CapRWX: true, testsuites.CapRWX: true,
testsuites.CapMultiPODs: true,
}, },
}, },
} }
@ -356,6 +358,7 @@ func InitISCSIDriver() testsuites.TestDriver {
testsuites.CapFsGroup: true, testsuites.CapFsGroup: true,
testsuites.CapBlock: true, testsuites.CapBlock: true,
testsuites.CapExec: true, testsuites.CapExec: true,
testsuites.CapMultiPODs: true,
}, },
}, },
} }
@ -467,6 +470,7 @@ func InitRbdDriver() testsuites.TestDriver {
testsuites.CapFsGroup: true, testsuites.CapFsGroup: true,
testsuites.CapBlock: true, testsuites.CapBlock: true,
testsuites.CapExec: true, testsuites.CapExec: true,
testsuites.CapMultiPODs: true,
}, },
}, },
} }
@ -589,6 +593,7 @@ func InitCephFSDriver() testsuites.TestDriver {
testsuites.CapPersistence: true, testsuites.CapPersistence: true,
testsuites.CapExec: true, testsuites.CapExec: true,
testsuites.CapRWX: true, testsuites.CapRWX: true,
testsuites.CapMultiPODs: true,
}, },
}, },
} }
@ -685,6 +690,7 @@ func InitHostPathDriver() testsuites.TestDriver {
), ),
Capabilities: map[testsuites.Capability]bool{ Capabilities: map[testsuites.Capability]bool{
testsuites.CapPersistence: true, testsuites.CapPersistence: true,
testsuites.CapMultiPODs: true,
}, },
}, },
} }
@ -757,6 +763,7 @@ func InitHostPathSymlinkDriver() testsuites.TestDriver {
), ),
Capabilities: map[testsuites.Capability]bool{ Capabilities: map[testsuites.Capability]bool{
testsuites.CapPersistence: true, testsuites.CapPersistence: true,
testsuites.CapMultiPODs: true,
}, },
}, },
} }
@ -1132,6 +1139,7 @@ func InitGcePdDriver() testsuites.TestDriver {
testsuites.CapFsGroup: true, testsuites.CapFsGroup: true,
testsuites.CapBlock: true, testsuites.CapBlock: true,
testsuites.CapExec: true, testsuites.CapExec: true,
testsuites.CapMultiPODs: true,
}, },
}, },
} }
@ -1259,6 +1267,7 @@ func InitVSphereDriver() testsuites.TestDriver {
testsuites.CapPersistence: true, testsuites.CapPersistence: true,
testsuites.CapFsGroup: true, testsuites.CapFsGroup: true,
testsuites.CapExec: true, testsuites.CapExec: true,
testsuites.CapMultiPODs: true,
}, },
}, },
} }
@ -1381,6 +1390,7 @@ func InitAzureDriver() testsuites.TestDriver {
testsuites.CapFsGroup: true, testsuites.CapFsGroup: true,
testsuites.CapBlock: true, testsuites.CapBlock: true,
testsuites.CapExec: true, testsuites.CapExec: true,
testsuites.CapMultiPODs: true,
}, },
}, },
} }
@ -1500,6 +1510,7 @@ func InitAwsDriver() testsuites.TestDriver {
testsuites.CapFsGroup: true, testsuites.CapFsGroup: true,
testsuites.CapBlock: true, testsuites.CapBlock: true,
testsuites.CapExec: true, testsuites.CapExec: true,
testsuites.CapMultiPODs: true,
}, },
}, },
} }
@ -1603,6 +1614,7 @@ var (
testsuites.CapFsGroup: true, testsuites.CapFsGroup: true,
testsuites.CapBlock: false, testsuites.CapBlock: false,
testsuites.CapExec: true, testsuites.CapExec: true,
testsuites.CapMultiPODs: true,
} }
localVolumeCapabitilies = map[utils.LocalVolumeType]map[testsuites.Capability]bool{ localVolumeCapabitilies = map[utils.LocalVolumeType]map[testsuites.Capability]bool{
utils.LocalVolumeBlock: { utils.LocalVolumeBlock: {
@ -1610,6 +1622,7 @@ var (
testsuites.CapFsGroup: true, testsuites.CapFsGroup: true,
testsuites.CapBlock: true, testsuites.CapBlock: true,
testsuites.CapExec: true, testsuites.CapExec: true,
testsuites.CapMultiPODs: true,
}, },
} }
// fstype // fstype