Commit cc82b0d4 authored by yuzou's avatar yuzou
Browse files

In testsuites.go, enlarge the size of randomBytes to 128M to fix the crash of...

In testsuites.go, enlarge the size of randomBytes to 128M to fix the crash of running TestConcurrentStreamReads
Signed-off-by: default avataryuzou <zouyu7@huawei.com>
parent 7378e216
Showing with 1 addition and 1 deletion
+1 -1
......@@ -1144,7 +1144,7 @@ func randomFilename(length int64) string {
// randomBytes pre-allocates all of the memory sizes needed for the test. If
// anything panics while accessing randomBytes, just make this number bigger.
var randomBytes = make([]byte, 96<<20)
var randomBytes = make([]byte, 128<<20)
func init() {
// increase the random bytes to the required maximum
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment