mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
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.
This commit is contained in:
parent
de961af5c6
commit
641ae28989
@ -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)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user