From 641ae28989137fc3897f02876847732bebaa7604 Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Mon, 6 Mar 2023 13:13:51 +0200 Subject: [PATCH] chainntnfs: fix sub test names Some subtest names were incorrectly labeled by if the txindex was enabled or not but are meant to be labeled by if rpc polling is enabled or not. --- chainntnfs/bitcoindnotify/bitcoind_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chainntnfs/bitcoindnotify/bitcoind_test.go b/chainntnfs/bitcoindnotify/bitcoind_test.go index 9a89d3454..124872de0 100644 --- a/chainntnfs/bitcoindnotify/bitcoind_test.go +++ b/chainntnfs/bitcoindnotify/bitcoind_test.go @@ -105,12 +105,12 @@ func syncNotifierWithMiner(t *testing.T, notifier *BitcoindNotifier, // TestHistoricalConfDetailsTxIndex ensures that we correctly retrieve // historical confirmation details using the backend node's txindex. func TestHistoricalConfDetailsTxIndex(t *testing.T) { - t.Run("txindex enabled", func(st *testing.T) { + t.Run("rpc polling enabled", func(st *testing.T) { st.Parallel() testHistoricalConfDetailsTxIndex(st, true) }) - t.Run("txindex disabled", func(st *testing.T) { + t.Run("rpc polling disabled", func(st *testing.T) { st.Parallel() testHistoricalConfDetailsTxIndex(st, false) }) @@ -200,12 +200,12 @@ func testHistoricalConfDetailsTxIndex(t *testing.T, rpcPolling bool) { // historical confirmation details using the set of fallback methods when the // backend node's txindex is disabled. func TestHistoricalConfDetailsNoTxIndex(t *testing.T) { - t.Run("txindex enabled", func(st *testing.T) { + t.Run("rpc polling enabled", func(st *testing.T) { st.Parallel() testHistoricalConfDetailsNoTxIndex(st, true) }) - t.Run("txindex disabled", func(st *testing.T) { + t.Run("rpc polling disabled", func(st *testing.T) { st.Parallel() testHistoricalConfDetailsNoTxIndex(st, false) })