From 89c3eb7765b900dd2be9fe76b7c6105a11355ed3 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Fri, 24 Jul 2020 00:40:05 +0800 Subject: [PATCH] itest: test macaroon creation/deletion --- lntest/itest/lnd_test.go | 8 + lntest/itest/log_error_whitelist.txt | 4 + lntest/itest/macaroons.go | 308 +++++++++++++++++++++++++++ 3 files changed, 320 insertions(+) diff --git a/lntest/itest/lnd_test.go b/lntest/itest/lnd_test.go index 9c2bdd235..bece9f051 100644 --- a/lntest/itest/lnd_test.go +++ b/lntest/itest/lnd_test.go @@ -15231,6 +15231,14 @@ var testsCases = []*testCase{ name: "macaroon authentication", test: testMacaroonAuthentication, }, + { + name: "bake macaroon", + test: testBakeMacaroon, + }, + { + name: "delete macaroon id", + test: testDeleteMacaroonID, + }, { name: "immediate payment after channel opened", test: testPaymentFollowingChannelOpen, diff --git a/lntest/itest/log_error_whitelist.txt b/lntest/itest/log_error_whitelist.txt index f32a4cebc..f63b7275d 100644 --- a/lntest/itest/log_error_whitelist.txt +++ b/lntest/itest/log_error_whitelist.txt @@ -207,3 +207,7 @@