Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI is really slow: it sees all three expire at once. But making the timeouts too long is painful in non-VALGRIND, so I ended up making it conditional. ``` # First it expires. wait_for(lambda: only_one(l3.rpc.listinvoices('inv1')['invoices'])['status'] == 'expired') # Now will get autocleaned wait_for(lambda: l3.rpc.listinvoices('inv1')['invoices'] == []) > assert l3.rpc.autoclean_status()['autoclean']['expiredinvoices']['cleaned'] == 1 E assert 3 == 1 tests/test_plugin.py:2975: AssertionError ``` Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information