[test] fix configfile test failure

Signed-off-by: Leo Chen <leo@harmony.one>
pull/1730/head
Leo Chen 5 years ago
parent 7c7131cbc7
commit cfacf6368c
  1. 2
      internal/utils/configfile_test.go
  2. 2
      internal/utils/test.ini

@ -16,6 +16,7 @@ func TestReadWalletProfile(t *testing.T) {
ChainID: params.MainnetChainID.String(),
Bootnodes: []string{"127.0.0.1:9000/abcd", "127.0.0.1:9999/daeg"},
Shards: 4,
Network: "mainnet",
RPCServer: [][]p2p.Peer{
{
{
@ -64,6 +65,7 @@ func TestReadWalletProfile(t *testing.T) {
ChainID: params.TestnetChainID.String(),
Bootnodes: []string{"192.168.0.1:9990/abcd", "127.0.0.1:8888/daeg"},
Shards: 3,
Network: "testnet",
RPCServer: [][]p2p.Peer{
{
{

@ -2,6 +2,7 @@
bootnode = 127.0.0.1:9000/abcd
bootnode = 127.0.0.1:9999/daeg
shards = 4
network = mainnet
[default.shard0.rpc]
rpc = 127.0.0.4:8888
@ -23,6 +24,7 @@ rpc = 192.168.0.3:9876
bootnode = 192.168.0.1:9990/abcd
bootnode = 127.0.0.1:8888/daeg
shards = 3
network = testnet
[testnet.shard0.rpc]
rpc = 192.168.2.3:8888

Loading…
Cancel
Save