From d3d9282a30472edf218d2d40828c332c27da09c3 Mon Sep 17 00:00:00 2001 From: yuzou Date: Fri, 15 Jan 2016 17:22:43 +0800 Subject: [PATCH] In testsuites.go, enlarge the size of randomBytes to 128M to fix the crash of running TestConcurrentStreamReads Signed-off-by: yuzou --- docs/storage/driver/testsuites/testsuites.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/storage/driver/testsuites/testsuites.go b/docs/storage/driver/testsuites/testsuites.go index 70300309..6fea2def 100644 --- a/docs/storage/driver/testsuites/testsuites.go +++ b/docs/storage/driver/testsuites/testsuites.go @@ -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