itest: fix existing itests

This commit is contained in:
yyforyongyu
2024-03-17 18:19:06 +08:00
parent 7fb18bc0d5
commit 94390fc775
3 changed files with 16 additions and 2 deletions

View File

@@ -451,7 +451,8 @@ func channelForceClosureTest(ht *lntest.HarnessTest,
// Allow some deviation because weight estimates during tx generation
// are estimates.
require.InEpsilon(ht, expectedFeeRate, feeRate, 0.005)
require.InEpsilonf(ht, expectedFeeRate, feeRate, 0.005, "fee rate not "+
"match: want %v, got %v", expectedFeeRate, feeRate)
// Find alice's commit sweep and anchor sweep (if present) in the
// mempool.