From abf2140ecfd54d50922f9f64f50559ef7f271981 Mon Sep 17 00:00:00 2001 From: Geoff Stuart Date: Wed, 1 Feb 2023 18:50:36 -0500 Subject: [PATCH] review fixes --- itests/eth_config_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/itests/eth_config_test.go b/itests/eth_config_test.go index 3969c5ed8..5b04755ed 100644 --- a/itests/eth_config_test.go +++ b/itests/eth_config_test.go @@ -4,7 +4,6 @@ package itests import ( "context" "testing" - "time" "github.com/stretchr/testify/require" @@ -18,9 +17,8 @@ func TestEthFilterAPIDisabledViaConfig(t *testing.T) { kit.QuietMiningLogs() - // don't pass kit.RealTimeFilterAPI() so ActorEvent.EnableRealTimeFilterAPI is false - client, _, ens := kit.EnsembleMinimal(t, kit.MockProofs(), kit.ThroughRPC(), kit.DisableEthRPC()) - ens.InterconnectAll().BeginMining(10 * time.Millisecond) + // pass kit.DisableEthRPC() so RealTimeFilterAPI will not be enabled + client, _, _ := kit.EnsembleMinimal(t, kit.MockProofs(), kit.ThroughRPC(), kit.DisableEthRPC()) _, err := client.EthNewPendingTransactionFilter(ctx) require.NotNil(t, err)