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()).
|
||||
FullNode(&paymentCreator).
|
||||
FullNode(&paymentReceiver).
|
||||
Miner(&miner, &paymentCreator).
|
||||
Miner(&miner, &paymentCreator, kit.WithAllSubsystems()).
|
||||
Start().
|
||||
InterconnectAll()
|
||||
bms := ens.BeginMining(blockTime)
|
||||
|
@ -420,7 +420,7 @@ func startPaychCreatorReceiverMiner(ctx context.Context, t *testing.T, paymentCr
|
||||
kit.NewEnsemble(t, kit.MockProofs()).
|
||||
FullNode(paymentCreator, opts).
|
||||
FullNode(paymentReceiver, opts).
|
||||
Miner(&miner, paymentCreator).
|
||||
Miner(&miner, paymentCreator, kit.WithAllSubsystems()).
|
||||
Start().
|
||||
InterconnectAll().
|
||||
BeginMining(blocktime)
|
||||
|
@ -30,7 +30,8 @@ func TestSDRUpgrade(t *testing.T) {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
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)
|
||||
ens.InterconnectAll()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user