Skip to content

Commit

Permalink
Fix flaky channel open integration test (#3003)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bast authored Feb 7, 2025
1 parent 35876c4 commit a19ca67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class TwoNodesIntegrationSpec extends FixtureSpec with IntegrationPatience {
val channelId2 = openChannel(bob, alice, 110_000 sat).channelId
val channels = getPeerChannels(alice, bob.nodeId)
assert(channels.map(_.data.channelId).toSet == Set(channelId1, channelId2))
channels.foreach(c => assert(c.state == WAIT_FOR_DUAL_FUNDING_SIGNED || c.state == WAIT_FOR_DUAL_FUNDING_CONFIRMED))
channels.foreach(c => assert(c.state == WAIT_FOR_DUAL_FUNDING_CREATED || c.state == WAIT_FOR_DUAL_FUNDING_SIGNED || c.state == WAIT_FOR_DUAL_FUNDING_CONFIRMED))
confirmChannel(alice, bob, channelId1, BlockHeight(420_000), 21)
confirmChannel(bob, alice, channelId2, BlockHeight(420_000), 22)
getPeerChannels(bob, alice.nodeId).foreach(c => assert(c.data.isInstanceOf[DATA_NORMAL]))
Expand Down

0 comments on commit a19ca67

Please # to comment.