Skip to content

Commit

Permalink
Disable invoice purger in tests (#2240)
Browse files Browse the repository at this point in the history
It was creating a race condition in the test
`MultiPartHandlerSpec`.`PaymentHandler should reject incoming
multi-part payment with an invalid expiry` due the 0-expiry
invoice being immediately purged.
  • Loading branch information
pm47 authored Apr 25, 2022
1 parent a4ddbc3 commit f099409
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ object TestConstants {
relayPolicy = RelayAll,
timeout = 1 minute
),
purgeInvoicesInterval = Some(24 hours),
purgeInvoicesInterval = None,
)

def channelParams: LocalParams = Peer.makeChannelParams(
Expand Down Expand Up @@ -335,7 +335,7 @@ object TestConstants {
relayPolicy = RelayAll,
timeout = 1 minute
),
purgeInvoicesInterval = Some(24 hours)
purgeInvoicesInterval = None
)

def channelParams: LocalParams = Peer.makeChannelParams(
Expand Down

0 comments on commit f099409

Please sign in to comment.