diff --git a/config/presets/testnet.go b/config/presets/testnet.go index fb62984975..ed9b3b4170 100644 --- a/config/presets/testnet.go +++ b/config/presets/testnet.go @@ -112,7 +112,7 @@ func testnet() config.Config { MaxRequestRetries: 10, }, POST: activation.PostConfig{ - MinNumUnits: 4, + MinNumUnits: 2, MaxNumUnits: math.MaxUint32, LabelsPerUnit: 1024, K1: 26, diff --git a/node/adminservice_api_test.go b/node/adminservice_api_test.go index 70623fc76f..4c2e1b00b9 100644 --- a/node/adminservice_api_test.go +++ b/node/adminservice_api_test.go @@ -18,6 +18,7 @@ import ( func TestPeerInfoApi(t *testing.T) { cfg := config.DefaultTestConfig() + cfg.Genesis.Accounts = nil cfg.P2P.DisableNatPort = true cfg.P2P.Listen = "/ip4/127.0.0.1/tcp/0" diff --git a/node/util_test.go b/node/util_test.go index 095b4a7272..aa55b35990 100644 --- a/node/util_test.go +++ b/node/util_test.go @@ -46,6 +46,7 @@ func NewTestNetwork(t *testing.T, conf config.Config, l log.Log, size int) []*Te c.DataDirParent = dir c.SMESHING.Opts.DataDir = dir c.SMESHING.CoinbaseAccount = types.GenerateAddress([]byte(strconv.Itoa(i))).String() + c.FileLock = filepath.Join(c.DataDirParent, "LOCK") app := NewApp(t, &c, l)