mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-09-12 12:00:45 +02:00
11 lines
226 B
Go
11 lines
226 B
Go
package memory_map
|
|
|
|
import "testing"
|
|
|
|
func TestMemoryMapMaxSizeReadWrite(t *testing.T) {
|
|
memoryMapSize, _ := ReadMemoryMapMaxSizeMb("5000")
|
|
if memoryMapSize != 5000 {
|
|
t.Errorf("empty memoryMapSize:%v", memoryMapSize)
|
|
}
|
|
}
|