In testsuites.go, enlarge the size of randomBytes to 128M to fix the crash of running TestConcurrentStreamReads
Signed-off-by: yuzou <zouyu7@huawei.com>master
							parent
							
								
									7378e21678
								
							
						
					
					
						commit
						cc82b0d48e
					
				| 
						 | 
					@ -1144,7 +1144,7 @@ func randomFilename(length int64) string {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// randomBytes pre-allocates all of the memory sizes needed for the test. If
 | 
					// randomBytes pre-allocates all of the memory sizes needed for the test. If
 | 
				
			||||||
// anything panics while accessing randomBytes, just make this number bigger.
 | 
					// anything panics while accessing randomBytes, just make this number bigger.
 | 
				
			||||||
var randomBytes = make([]byte, 96<<20)
 | 
					var randomBytes = make([]byte, 128<<20)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func init() {
 | 
					func init() {
 | 
				
			||||||
	// increase the random bytes to the required maximum
 | 
						// increase the random bytes to the required maximum
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue