(node_factory, executor)
| 3840 | |
| 3841 | |
| 3842 | def test_quiescence(node_factory, executor): |
| 3843 | l1, l2 = node_factory.line_graph(2) |
| 3844 | |
| 3845 | # Works fine. |
| 3846 | l1.pay(l2, 1000) |
| 3847 | |
| 3848 | assert l1.rpc.call('dev-quiesce', [l2.info['id']]) == {} |
| 3849 | |
| 3850 | # Both should consider themselves quiescent. |
| 3851 | l1.daemon.wait_for_log("STFU complete: we are quiescent") |
| 3852 | l2.daemon.wait_for_log("STFU complete: we are quiescent") |
| 3853 | |
| 3854 | # Should not be able to increase fees. |
| 3855 | l1.rpc.call('dev-feerate', [l2.info['id'], 9999]) |
| 3856 | |
| 3857 | try: |
| 3858 | l1.daemon.wait_for_log('peer_out WIRE_UPDATE_FEE', 5) |
| 3859 | assert False |
| 3860 | except TimeoutError: |
| 3861 | pass |
| 3862 | |
| 3863 | |
| 3864 | def test_htlc_failed_noclose(node_factory): |
nothing calls this directly
no test coverage detected