test: set bigger max size of cache in TestConcurrentReadAfterWrite

pull/18963/head
ricky 2020-07-16 10:05:30 +08:00
parent 9e82797a38
commit dcf995922c
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ func TestConcurrentReadAfterWrite(t *testing.T) {
closing := make(chan struct{})
var wg sync.WaitGroup
c := tsm1.NewCache(1024 * 1024 * 16)
c := tsm1.NewCache(1024 * 1024 * 128)
for i := 0; i < concurrency; i++ {
wg.Add(1)
// read after read concurrently