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) {
|
||||
t.Parallel()
|
||||
cfg := network.LoaderDefaultConfig()
|
||||
cfg.NumValidators = 1
|
||||
cfg.NumValidators = 3
|
||||
suite.Run(t, NewE2ETestSuite(cfg))
|
||||
}
|
||||
|
||||
@ -589,9 +589,12 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) {
|
||||
l.Log("started validator", idx)
|
||||
}
|
||||
|
||||
height, err := network.LatestHeight()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
height := int64(0)
|
||||
for height < 7 {
|
||||
height, err = network.LatestHeight()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
l.Log("started test network at height:", height)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user