chainntnfs: add proper logging for the two last interface-level tests

This commit is contained in:
Olaoluwa Osuntokun committed 2017-06-07 17:03:01 -07:00
1 parent af8d12ee1d
commit ab2af76b44
1 file changed
+4
+4
View File
@@ -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.