diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-02-03 15:30:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 15:30:39 -0500 |
commit | 4e1bcf30f3a519490f58d66bc0aef16676f61ae8 (patch) | |
tree | 1c385d7d3165aac114aa1d812ecd06cadba89bf6 /test/utils/utils.go | |
parent | 4a1614e73feee048941296716dd85ceb6d15417d (diff) | |
parent | 7e4d696d949f4132c17a9c66c9f24e65b184be4c (diff) | |
download | podman-4e1bcf30f3a519490f58d66bc0aef16676f61ae8.tar.gz podman-4e1bcf30f3a519490f58d66bc0aef16676f61ae8.tar.bz2 podman-4e1bcf30f3a519490f58d66bc0aef16676f61ae8.zip |
Merge pull request #9188 from jwhonce/issues/8865
Report StatusConflict on Pod opt partial failures
Diffstat (limited to 'test/utils/utils.go')
-rw-r--r-- | test/utils/utils.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/utils/utils.go b/test/utils/utils.go index f21584537..6790f31cd 100644 --- a/test/utils/utils.go +++ b/test/utils/utils.go @@ -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 { |