mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
set db compression to false; unskip dpa tests, all passing
This commit is contained in:
parent
80d398ce6d
commit
20feba262c
2 changed files with 1 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ func NewLDBDatabase(file string) (*LDBDatabase, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
database := &LDBDatabase{db: db, comp: true}
|
database := &LDBDatabase{db: db, comp: false}
|
||||||
|
|
||||||
return database, nil
|
return database, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ import (
|
||||||
const testDataSize = 0x1000000
|
const testDataSize = 0x1000000
|
||||||
|
|
||||||
func TestDPArandom(t *testing.T) {
|
func TestDPArandom(t *testing.T) {
|
||||||
t.Skip("skip until fixed")
|
|
||||||
os.RemoveAll("/tmp/bzz")
|
os.RemoveAll("/tmp/bzz")
|
||||||
dbStore, err := newDbStore("/tmp/bzz")
|
dbStore, err := newDbStore("/tmp/bzz")
|
||||||
dbStore.setCapacity(50000)
|
dbStore.setCapacity(50000)
|
||||||
|
|
@ -70,7 +69,6 @@ func TestDPArandom(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestDPA_capacity(t *testing.T) {
|
func TestDPA_capacity(t *testing.T) {
|
||||||
t.Skip("skip until fixed")
|
|
||||||
os.RemoveAll("/tmp/bzz")
|
os.RemoveAll("/tmp/bzz")
|
||||||
dbStore, err := newDbStore("/tmp/bzz")
|
dbStore, err := newDbStore("/tmp/bzz")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue