Merge pull request #109924 from mauriciopoppe/provisioning-sync
Use sync in e2e storage provisioning tests
This commit is contained in:
commit
3e06830f2d
@ -601,7 +601,7 @@ func InjectContent(f *framework.Framework, config TestConfig, fsGroup *int64, fs
|
||||
// generateWriteCmd is used by generateWriteBlockCmd and generateWriteFileCmd
|
||||
func generateWriteCmd(content, path string) []string {
|
||||
var commands []string
|
||||
commands = []string{"/bin/sh", "-c", "echo '" + content + "' > " + path}
|
||||
commands = []string{"/bin/sh", "-c", "echo '" + content + "' > " + path + "; sync"}
|
||||
return commands
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user