mirror of
https://github.com/containers/podman.git
synced 2025-09-18 15:54:49 +08:00
Report StatusConflict on Pod opt partial failures
- When one or more containers in the Pod reports an error on an operation report StatusConflict and report the error(s) - jsoniter type encoding used to marshal error as string using error.Error() - Update test framework to allow setting any flag when creating pods - Fix test_resize() result check Fixes #8865 Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
@ -467,11 +467,14 @@ func Containerized() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func init() {
|
||||
rand.Seed(GinkgoRandomSeed())
|
||||
}
|
||||
|
||||
var randomLetters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
|
||||
|
||||
// RandomString returns a string of given length composed of random characters
|
||||
func RandomString(n int) string {
|
||||
rand.Seed(GinkgoRandomSeed())
|
||||
|
||||
b := make([]rune, n)
|
||||
for i := range b {
|
||||
|
Reference in New Issue
Block a user