diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-02-19 20:29:19 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-03-09 16:33:39 +0800 |
commit | e90958cd29a228b051faeaa25d66e053cf9d2228 (patch) | |
tree | dd7dd52d31628375ead8a06e681441102faf9037 /node/service_test.go | |
parent | 05c86c2c9fa14ea03fdc5d0cd77cdecc34e4f164 (diff) | |
download | go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.gz go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.bz2 go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.lz go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.xz go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.zst go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.zip |
cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
Diffstat (limited to 'node/service_test.go')
-rw-r--r-- | node/service_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/service_test.go b/node/service_test.go index cfe7fe5dc..7bd94a52e 100644 --- a/node/service_test.go +++ b/node/service_test.go @@ -39,7 +39,7 @@ func TestContextDatabases(t *testing.T) { } // Request the opening/creation of a database and ensure it persists to disk ctx := &ServiceContext{datadir: dir} - db, err := ctx.OpenDatabase("persistent", 0) + db, err := ctx.OpenDatabase("persistent", 0, 0) if err != nil { t.Fatalf("failed to open persistent database: %v", err) } @@ -50,7 +50,7 @@ func TestContextDatabases(t *testing.T) { } // Request th opening/creation of an ephemeral database and ensure it's not persisted ctx = &ServiceContext{datadir: ""} - db, err = ctx.OpenDatabase("ephemeral", 0) + db, err = ctx.OpenDatabase("ephemeral", 0, 0) if err != nil { t.Fatalf("failed to open ephemeral database: %v", err) } |