mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +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
|
||||
}
|
||||
|
||||
database := &LDBDatabase{db: db, comp: true}
|
||||
database := &LDBDatabase{db: db, comp: false}
|
||||
|
||||
return database, nil
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ import (
|
|||
const testDataSize = 0x1000000
|
||||
|
||||
func TestDPArandom(t *testing.T) {
|
||||
t.Skip("skip until fixed")
|
||||
os.RemoveAll("/tmp/bzz")
|
||||
dbStore, err := newDbStore("/tmp/bzz")
|
||||
dbStore.setCapacity(50000)
|
||||
|
|
@ -70,7 +69,6 @@ func TestDPArandom(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestDPA_capacity(t *testing.T) {
|
||||
t.Skip("skip until fixed")
|
||||
os.RemoveAll("/tmp/bzz")
|
||||
dbStore, err := newDbStore("/tmp/bzz")
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue