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

This commit is contained in:
Olaoluwa Osuntokun 2017-06-07 17:02:54 -07:00
parent af8d12ee1d
commit ab2af76b44
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -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.