From 954ad1f396fcf9ee406dc7af6f50d5be166da248 Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Tue, 30 Jun 2020 13:31:50 +0200 Subject: [PATCH] fixup --- lotus-soup/common_roles.go | 3 --- lotus-soup/node.go | 7 ------- 2 files changed, 10 deletions(-) diff --git a/lotus-soup/common_roles.go b/lotus-soup/common_roles.go index cddcc25c0..f6aa2454f 100644 --- a/lotus-soup/common_roles.go +++ b/lotus-soup/common_roles.go @@ -3,7 +3,6 @@ package main import ( "context" "fmt" - "time" "github.com/filecoin-project/lotus/build" "github.com/testground/sdk-go/sync" @@ -88,8 +87,6 @@ func runMiner(t *TestEnvironment) error { mine = false <-done - time.Sleep(3600 * time.Second) - t.SyncClient.MustSignalAndWait(ctx, stateDone, t.TestInstanceCount) return nil } diff --git a/lotus-soup/node.go b/lotus-soup/node.go index 52f57f28e..c5d492593 100644 --- a/lotus-soup/node.go +++ b/lotus-soup/node.go @@ -395,13 +395,6 @@ func prepareMiner(t *TestEnvironment) (*Node, error) { node.Online(), node.Repo(nodeRepo), withGenesis(genesisMsg.Genesis), - //node.Override(node.SetApiEndpointKey, func(lr repo.LockedRepo) error { - //apima, err := multiaddr.NewMultiaddr("/ip4/127.0.0.1/tcp/1235") - //if err != nil { - //return err - //} - //return lr.SetAPIEndpoint(apima) - //}), withListenAddress(minerIP), withBootstrapper(genesisMsg.Bootstrapper), withPubsubConfig(false, pubsubTracer),