mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-27 07:48:29 +00:00
WIP
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
parent
b205c5ff29
commit
65134b4a0b
@ -11,6 +11,6 @@ import (
|
|||||||
func TestE2ETestSuite(t *testing.T) {
|
func TestE2ETestSuite(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
cfg := network.LoaderDefaultConfig()
|
cfg := network.LoaderDefaultConfig()
|
||||||
cfg.NumValidators = 1
|
cfg.NumValidators = 3
|
||||||
suite.Run(t, NewE2ETestSuite(cfg))
|
suite.Run(t, NewE2ETestSuite(cfg))
|
||||||
}
|
}
|
||||||
|
|||||||
@ -589,9 +589,12 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) {
|
|||||||
l.Log("started validator", idx)
|
l.Log("started validator", idx)
|
||||||
}
|
}
|
||||||
|
|
||||||
height, err := network.LatestHeight()
|
height := int64(0)
|
||||||
if err != nil {
|
for height < 7 {
|
||||||
return nil, err
|
height, err = network.LatestHeight()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
l.Log("started test network at height:", height)
|
l.Log("started test network at height:", height)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user