lnd/kvdb/etcd
Elle Mouton 76d2bec58f
kvdb/etcd: remove context.TODO() from test helpers
We want `context.TODO()` to be high signal in the code-base. It should
signal clearly that work is required to thread parent context through to
the call-site. So to keep the signal-to-noise ratio high, we remove any
context.TODO() calls from tests since these will never need to be
replace by a parent context.

After this commit, there is only a single context.TODO() left in the
code-base.
2025-06-04 10:54:32 +02:00
..
bucket_test.go etcd: add SequenceKey function 2022-10-13 09:37:52 +02:00
bucket.go etcd: add SequenceKey function 2022-10-13 09:37:52 +02:00
commit_queue_test.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
commit_queue.go kvdb+cmd: fix typos 2024-01-03 12:06:32 +08:00
config.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
db_test.go kvdb/etcd: remove context.TODO() from test helpers 2025-06-04 10:54:32 +02:00
db.go Allow multiple etcd hosts to be specified in db.etcd.host. 2024-07-31 15:31:17 +02:00
debug.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
driver_test.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
driver.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
embed.go kvdb: bump etcd libs to v3.5.12 2025-04-01 12:40:31 +02:00
fixture.go kvdb/etcd: remove context.TODO() from test helpers 2025-06-04 10:54:32 +02:00
nodebug.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
readwrite_bucket.go etcd: fix typos 2022-10-13 09:37:52 +02:00
readwrite_cursor.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
readwrite_tx_test.go kvdb/etcd: remove context.TODO() from test helpers 2025-06-04 10:54:32 +02:00
readwrite_tx.go kvdb+cmd: fix typos 2024-01-03 12:06:32 +08:00
stm_test.go kvdb/etcd: replace defer cleanup with t.Cleanup 2022-10-13 17:47:03 +08:00
stm.go kvdb: make etcd calls timeout to ensure liveness 2024-08-01 19:04:10 +02:00
walletdb_interface_test.go kvdb/etcd: remove context.TODO() from test helpers 2025-06-04 10:54:32 +02:00