mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #103725 from jingxu97/July/wintests
Fix windows storage tests
This commit is contained in:
commit
85a29212e0
@ -166,7 +166,7 @@ func MakeSecPod(podConfig *Config) (*v1.Pod, error) {
|
||||
if podConfig.NS == "" {
|
||||
return nil, fmt.Errorf("Cannot create pod with empty namespace")
|
||||
}
|
||||
if len(podConfig.Command) == 0 && !NodeOSDistroIs("windows") {
|
||||
if len(podConfig.Command) == 0 {
|
||||
podConfig.Command = "trap exit TERM; while true; do sleep 1; done"
|
||||
}
|
||||
|
||||
|
@ -67,6 +67,7 @@ func InitMultiVolumeTestSuite() storageframework.TestSuite {
|
||||
storageframework.BlockVolModeDynamicPV,
|
||||
storageframework.Ext4DynamicPV,
|
||||
storageframework.XfsDynamicPV,
|
||||
storageframework.NtfsDynamicPV,
|
||||
}
|
||||
return InitCustomMultiVolumeTestSuite(patterns)
|
||||
}
|
||||
|
@ -80,6 +80,7 @@ func InitVolumeIOTestSuite() storageframework.TestSuite {
|
||||
storageframework.DefaultFsInlineVolume,
|
||||
storageframework.DefaultFsPreprovisionedPV,
|
||||
storageframework.DefaultFsDynamicPV,
|
||||
storageframework.NtfsDynamicPV,
|
||||
}
|
||||
return InitCustomVolumeIOTestSuite(patterns)
|
||||
}
|
||||
@ -143,7 +144,7 @@ func (t *volumeIOTestSuite) DefineTests(driver storageframework.TestDriver, patt
|
||||
l.migrationCheck.validateMigrationVolumeOpCounts()
|
||||
}
|
||||
|
||||
ginkgo.It("should write files of various sizes, verify size, validate content [Slow][LinuxOnly]", func() {
|
||||
ginkgo.It("should write files of various sizes, verify size, validate content [Slow]", func() {
|
||||
init()
|
||||
defer cleanup()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user