mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
swarm/storage: disable TestCleanIndex with race detector
This commit is contained in:
parent
4fc2a1ab92
commit
79ae5c30ad
1 changed files with 5 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ import (
|
||||||
"github.com/ethereum/go-ethereum/swarm/chunk"
|
"github.com/ethereum/go-ethereum/swarm/chunk"
|
||||||
"github.com/ethereum/go-ethereum/swarm/log"
|
"github.com/ethereum/go-ethereum/swarm/log"
|
||||||
"github.com/ethereum/go-ethereum/swarm/storage/mock/mem"
|
"github.com/ethereum/go-ethereum/swarm/storage/mock/mem"
|
||||||
|
"github.com/ethereum/go-ethereum/swarm/testutil"
|
||||||
ldberrors "github.com/syndtr/goleveldb/leveldb/errors"
|
ldberrors "github.com/syndtr/goleveldb/leveldb/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -598,6 +599,10 @@ func TestLDBStoreCollectGarbageAccessUnlikeIndex(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestCleanIndex(t *testing.T) {
|
func TestCleanIndex(t *testing.T) {
|
||||||
|
if testutil.RaceEnabled {
|
||||||
|
t.Skip("disabled because it times out with race detector")
|
||||||
|
}
|
||||||
|
|
||||||
capacity := 5000
|
capacity := 5000
|
||||||
n := 3
|
n := 3
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue