fix paych and sdr tests
This commit is contained in:
parent
218c9199f3
commit
aa584475cc
@ -41,7 +41,7 @@ func TestPaymentChannelsAPI(t *testing.T) {
|
|||||||
ens := kit.NewEnsemble(t, kit.MockProofs()).
|
ens := kit.NewEnsemble(t, kit.MockProofs()).
|
||||||
FullNode(&paymentCreator).
|
FullNode(&paymentCreator).
|
||||||
FullNode(&paymentReceiver).
|
FullNode(&paymentReceiver).
|
||||||
Miner(&miner, &paymentCreator).
|
Miner(&miner, &paymentCreator, kit.WithAllSubsystems()).
|
||||||
Start().
|
Start().
|
||||||
InterconnectAll()
|
InterconnectAll()
|
||||||
bms := ens.BeginMining(blockTime)
|
bms := ens.BeginMining(blockTime)
|
||||||
|
@ -420,7 +420,7 @@ func startPaychCreatorReceiverMiner(ctx context.Context, t *testing.T, paymentCr
|
|||||||
kit.NewEnsemble(t, kit.MockProofs()).
|
kit.NewEnsemble(t, kit.MockProofs()).
|
||||||
FullNode(paymentCreator, opts).
|
FullNode(paymentCreator, opts).
|
||||||
FullNode(paymentReceiver, opts).
|
FullNode(paymentReceiver, opts).
|
||||||
Miner(&miner, paymentCreator).
|
Miner(&miner, paymentCreator, kit.WithAllSubsystems()).
|
||||||
Start().
|
Start().
|
||||||
InterconnectAll().
|
InterconnectAll().
|
||||||
BeginMining(blocktime)
|
BeginMining(blocktime)
|
||||||
|
@ -30,7 +30,8 @@ func TestSDRUpgrade(t *testing.T) {
|
|||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
opts := kit.ConstructorOpts(kit.SDRUpgradeAt(500, 1000))
|
opts := []kit.NodeOpt{kit.ConstructorOpts(kit.SDRUpgradeAt(500, 1000))}
|
||||||
|
opts = append(opts, kit.WithAllSubsystems())
|
||||||
client, miner, ens := kit.EnsembleMinimal(t, kit.MockProofs(), opts)
|
client, miner, ens := kit.EnsembleMinimal(t, kit.MockProofs(), opts)
|
||||||
ens.InterconnectAll()
|
ens.InterconnectAll()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user