swarm/storage: disable TestCleanIndex with race detector

This commit is contained in:
Janos Guljas 2019-04-15 16:19:57 +02:00
parent 4fc2a1ab92
commit 79ae5c30ad

View file

@ -31,6 +31,7 @@ import (
"github.com/ethereum/go-ethereum/swarm/chunk"
"github.com/ethereum/go-ethereum/swarm/log"
"github.com/ethereum/go-ethereum/swarm/storage/mock/mem"
"github.com/ethereum/go-ethereum/swarm/testutil"
ldberrors "github.com/syndtr/goleveldb/leveldb/errors"
)
@ -598,6 +599,10 @@ func TestLDBStoreCollectGarbageAccessUnlikeIndex(t *testing.T) {
}
func TestCleanIndex(t *testing.T) {
if testutil.RaceEnabled {
t.Skip("disabled because it times out with race detector")
}
capacity := 5000
n := 3