fixup
This commit is contained in:
parent
33e60df301
commit
954ad1f396
@ -3,7 +3,6 @@ package main
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
|
||||||
|
|
||||||
"github.com/filecoin-project/lotus/build"
|
"github.com/filecoin-project/lotus/build"
|
||||||
"github.com/testground/sdk-go/sync"
|
"github.com/testground/sdk-go/sync"
|
||||||
@ -88,8 +87,6 @@ func runMiner(t *TestEnvironment) error {
|
|||||||
mine = false
|
mine = false
|
||||||
<-done
|
<-done
|
||||||
|
|
||||||
time.Sleep(3600 * time.Second)
|
|
||||||
|
|
||||||
t.SyncClient.MustSignalAndWait(ctx, stateDone, t.TestInstanceCount)
|
t.SyncClient.MustSignalAndWait(ctx, stateDone, t.TestInstanceCount)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
@ -395,13 +395,6 @@ func prepareMiner(t *TestEnvironment) (*Node, error) {
|
|||||||
node.Online(),
|
node.Online(),
|
||||||
node.Repo(nodeRepo),
|
node.Repo(nodeRepo),
|
||||||
withGenesis(genesisMsg.Genesis),
|
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),
|
withListenAddress(minerIP),
|
||||||
withBootstrapper(genesisMsg.Bootstrapper),
|
withBootstrapper(genesisMsg.Bootstrapper),
|
||||||
withPubsubConfig(false, pubsubTracer),
|
withPubsubConfig(false, pubsubTracer),
|
||||||
|
Loading…
Reference in New Issue
Block a user