mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 14:40:30 +01:00
The watchtower client test framework currently uses a mock version of the tower client DB. This can lead to bugs if the mock DB works slightly differently to the actual bbolt DB. So this commit ensures that we only use the bbolt db for the tower client tests. We also increment the `waitTime` used in the tests a bit to account for the slightly longer DB read and write times. Doing this switch resulted in one bug being caught: we were not removing sessions from the in-memory set on deletion of the session and so that is fixed here too. |
||
---|---|---|
.. | ||
addr_iterator.go | ||
addr_iterator_test.go | ||
backup_task.go | ||
backup_task_internal_test.go | ||
candidate_iterator.go | ||
candidate_iterator_test.go | ||
client.go | ||
client_test.go | ||
errors.go | ||
fuzz_test.go | ||
interface.go | ||
log.go | ||
queue.go | ||
queue_test.go | ||
sess_close_min_heap.go | ||
sess_close_min_heap_test.go | ||
session_negotiator.go | ||
session_queue.go | ||
stats.go |