mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
swarm/storage: amend tests
This commit is contained in:
parent
bb741ccf15
commit
398e2e4fc4
1 changed files with 11 additions and 6 deletions
|
|
@ -56,7 +56,7 @@ func TestMemStoreAndLDBStore(t *testing.T) {
|
|||
defer cleanup()
|
||||
|
||||
cacheCap := 200
|
||||
requestsCap := 10000
|
||||
requestsCap := 200
|
||||
memStore := NewMemStore(ldb, uint(cacheCap), uint(requestsCap))
|
||||
|
||||
tests := []struct {
|
||||
|
|
@ -79,11 +79,16 @@ func TestMemStoreAndLDBStore(t *testing.T) {
|
|||
chunkSize: 4096,
|
||||
request: false,
|
||||
},
|
||||
//{
|
||||
//n: 60001,
|
||||
//chunkSize: 4096,
|
||||
//request: true,
|
||||
//},
|
||||
{
|
||||
n: 60001,
|
||||
chunkSize: 4096,
|
||||
request: false,
|
||||
},
|
||||
{
|
||||
n: 100,
|
||||
chunkSize: 4096,
|
||||
request: true,
|
||||
},
|
||||
}
|
||||
|
||||
for i, tt := range tests {
|
||||
|
|
|
|||
Loading…
Reference in a new issue