From aa584475cc92a514e9edd5bddc8b300a3c301c61 Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Tue, 22 Jun 2021 16:48:07 +0200 Subject: [PATCH] fix paych and sdr tests --- itests/paych_api_test.go | 2 +- itests/paych_cli_test.go | 2 +- itests/sdr_upgrade_test.go | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/itests/paych_api_test.go b/itests/paych_api_test.go index 668eb14aa..647db21e0 100644 --- a/itests/paych_api_test.go +++ b/itests/paych_api_test.go @@ -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) diff --git a/itests/paych_cli_test.go b/itests/paych_cli_test.go index 8a0690449..495f33ef2 100644 --- a/itests/paych_cli_test.go +++ b/itests/paych_cli_test.go @@ -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) diff --git a/itests/sdr_upgrade_test.go b/itests/sdr_upgrade_test.go index 3aa685b09..38be9327c 100644 --- a/itests/sdr_upgrade_test.go +++ b/itests/sdr_upgrade_test.go @@ -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()