diff --git a/itests/api_test.go b/itests/api_test.go index ff303df3ec1..c87012cfedc 100644 --- a/itests/api_test.go +++ b/itests/api_test.go @@ -28,12 +28,17 @@ func TestAPI(t *testing.T) { //stm: @CHAIN_SYNCER_COLLECT_CHAIN_001, @CHAIN_SYNCER_COLLECT_HEADERS_001, @CHAIN_SYNCER_VALIDATE_TIPSET_001 //stm: @CHAIN_SYNCER_NEW_PEER_HEAD_001, @CHAIN_SYNCER_VALIDATE_MESSAGE_META_001, @CHAIN_SYNCER_STOP_001 + ts := apiSuite{} + t.Run("testMiningReal", ts.testMiningReal) + ts.opts = append(ts.opts, kit.ThroughRPC()) + t.Run("testMiningReal", ts.testMiningReal) + //stm: @CHAIN_STATE_MINER_INFO_001 t.Run("direct", func(t *testing.T) { - runAPITest(t) + runAPITest(t, kit.MockProofs()) }) t.Run("rpc", func(t *testing.T) { - runAPITest(t, kit.ThroughRPC()) + runAPITest(t, kit.MockProofs(), kit.ThroughRPC()) }) } @@ -49,7 +54,6 @@ func runAPITest(t *testing.T, opts ...interface{}) { t.Run("id", ts.testID) t.Run("testConnectTwo", ts.testConnectTwo) t.Run("testMining", ts.testMining) - t.Run("testMiningReal", ts.testMiningReal) t.Run("testSlowNotify", ts.testSlowNotify) t.Run("testSearchMsg", ts.testSearchMsg) t.Run("testOutOfGasError", ts.testOutOfGasError) diff --git a/itests/msgindex_test.go b/itests/msgindex_test.go index cb5fd85c9b7..807ab3c03f0 100644 --- a/itests/msgindex_test.go +++ b/itests/msgindex_test.go @@ -93,7 +93,7 @@ func testSearchMsgWithIndex(t *testing.T, makeMsgIndex func(cs *store.ChainStore // copy of apiSuite.testSearchMsgWith; needs to be copied or else CI is angry, tests are built individually there ctx := context.Background() - full, _, ens := kit.EnsembleMinimal(t, kit.ConstructorOpts(node.Override(new(index.MsgIndex), makeMsgIndex))) + full, _, ens := kit.EnsembleMinimal(t, kit.MockProofs(), kit.ConstructorOpts(node.Override(new(index.MsgIndex), makeMsgIndex))) senderAddr, err := full.WalletDefaultAddress(ctx) require.NoError(t, err)