From ab2af76b44ae5ec658de7f57f5adb795f0644d90 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 7 Jun 2017 17:02:54 -0700 Subject: [PATCH] chainntnfs: add proper logging for the two last interface-level tests --- chainntnfs/interface_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chainntnfs/interface_test.go b/chainntnfs/interface_test.go index 62a8bbc1..156d4d0b 100644 --- a/chainntnfs/interface_test.go +++ b/chainntnfs/interface_test.go @@ -748,6 +748,8 @@ func testSpendBeforeNtfnRegistration(miner *rpctest.Harness, func testCancelSpendNtfn(node *rpctest.Harness, notifier chainntnfs.ChainNotifier, t *testing.T) { + t.Logf("testing cancel spend notification") + // We'd like to test that once a spend notification is registered, it // can be cancelled before the notification is dispatched. @@ -834,6 +836,8 @@ func testCancelSpendNtfn(node *rpctest.Harness, func testCancelEpochNtfn(node *rpctest.Harness, notifier chainntnfs.ChainNotifier, t *testing.T) { + t.Logf("testing cancel epoch ntfn") + // We'd like to ensure that once a client cancels their block epoch // notifications, no further notifications are sent over the channel // if/when new blocks come in.