mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-24 06:47:46 +01:00
Fix dual funding flaky test (#2392)
Nodes also asynchronously republish funding txs after a restart, but we want to test the closing behavior so we ignore these events.
This commit is contained in:
parent
a4faa908a1
commit
fb6eb485c4
1 changed files with 0 additions and 2 deletions
|
@ -678,9 +678,7 @@ class WaitForDualFundingConfirmedStateSpec extends TestKitBaseClass with Fixture
|
||||||
bobData.previousFundingTxs.foreach(f => bob2blockchain.expectMsgType[WatchFundingConfirmed].txId == f.commitments.fundingTxId)
|
bobData.previousFundingTxs.foreach(f => bob2blockchain.expectMsgType[WatchFundingConfirmed].txId == f.commitments.fundingTxId)
|
||||||
awaitCond(bob2.stateName == OFFLINE)
|
awaitCond(bob2.stateName == OFFLINE)
|
||||||
|
|
||||||
alice2.underlying.system.eventStream.subscribe(aliceListener.ref, classOf[TransactionPublished])
|
|
||||||
alice2.underlying.system.eventStream.subscribe(aliceListener.ref, classOf[TransactionConfirmed])
|
alice2.underlying.system.eventStream.subscribe(aliceListener.ref, classOf[TransactionConfirmed])
|
||||||
bob2.underlying.system.eventStream.subscribe(bobListener.ref, classOf[TransactionPublished])
|
|
||||||
bob2.underlying.system.eventStream.subscribe(bobListener.ref, classOf[TransactionConfirmed])
|
bob2.underlying.system.eventStream.subscribe(bobListener.ref, classOf[TransactionConfirmed])
|
||||||
|
|
||||||
(alice2, bob2)
|
(alice2, bob2)
|
||||||
|
|
Loading…
Add table
Reference in a new issue