Adapt unit tests with new static nodes (#722)

This commit is contained in:
Pedro Pombeiro 2018-03-02 18:44:55 +01:00 committed by GitHub
parent ec83efc26a
commit 7aec65b976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ var loadConfigTestCases = []struct {
require.True(t, nodeConfig.BootClusterConfig.Enabled, "boot cluster is expected to be enabled by default") require.True(t, nodeConfig.BootClusterConfig.Enabled, "boot cluster is expected to be enabled by default")
enodes := nodeConfig.BootClusterConfig.BootNodes enodes := nodeConfig.BootClusterConfig.BootNodes
require.Len(t, enodes, 2) require.Len(t, enodes, 4)
}, },
}, },
{ {
@ -240,7 +240,7 @@ var loadConfigTestCases = []struct {
require.True(t, nodeConfig.BootClusterConfig.Enabled, "boot cluster is expected to be enabled by default") require.True(t, nodeConfig.BootClusterConfig.Enabled, "boot cluster is expected to be enabled by default")
enodes := nodeConfig.BootClusterConfig.BootNodes enodes := nodeConfig.BootClusterConfig.BootNodes
require.Len(t, enodes, 2) require.Len(t, enodes, 4)
}, },
}, },
{ {