don't wait for light clients

This commit is contained in:
tycho garen
2021-10-21 08:53:40 -04:00
parent 58550fd5e0
commit 542ad92bf7
+7
View File
@@ -110,6 +110,13 @@ func Start(ctx context.Context, testnet *e2e.Testnet) error {
return fmt.Errorf("starting node %q: %w", node.Name, err)
}
if node.Mode == e2e.ModeLight {
logger.Info(fmt.Sprintf("Light node %q up on http://127.0.0.1:%v",
node.Name, node.ProxyPort, status.SyncInfo.LatestBlockHeight))
continue
}
wctx, wcancel := context.WithTimeout(ctx, 8*time.Minute)
status, err := waitForNode(wctx, node, node.StartAt)
if err != nil {