lightning-terminal/firewalldb
Elle Mouton 9018cd4a9f
firewalldb: ensure that tests can run in parallel
Before this commit, some of the actions store test were using the same
global variables & some tests were also modifying those variables
meaning that we could not run the tests in parallel. So here we instead
make the variables local to the test and add `t.Parallel` to each test.
This will also be useful later on when the session IDs used by the
`AddActionReq` structs are instead derived from a sessions store.
2025-05-13 09:20:24 +02:00
..
action_paginator.go firewalldb+rpcserver: refactor ListActions 2025-05-09 13:57:10 +02:00
actions.go multi: rename Action.SessionID to MacaroonIdentifier 2025-05-13 09:05:12 +02:00
actions_kvdb.go multi: rename Action.SessionID to MacaroonIdentifier 2025-05-13 09:05:12 +02:00
actions_test.go firewalldb: ensure that tests can run in parallel 2025-05-13 09:20:24 +02:00
db.go firewalldb+lit: plug in SQL privacy mapper 2025-04-22 06:10:48 +02:00
interface.go firewalldb: introduce AddActionReq 2025-05-13 09:04:56 +02:00
kvdb_store.go firewalldb: add clock.Clock to firewalldb DB impls 2025-05-13 08:06:16 +02:00
kvstores_kvdb.go firewalldb: assert strong coupling between kvstores and sessions 2025-04-07 14:04:25 +02:00
kvstores_sql.go firewalldb: add SQL implementation of RulesDB 2025-04-15 14:01:00 +02:00
kvstores_test.go firewalldb: add clock.Clock to firewalldb DB impls 2025-05-13 08:06:16 +02:00
log.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
metadata.go firewalldb+log: add main DB structure 2023-01-27 06:47:11 +02:00
mock.go multi: rename GetSessionByID to GetSession 2025-03-04 17:34:31 +02:00
privacy_mapper.go multi+refactor: remove unnecessary type alias 2025-04-22 06:10:48 +02:00
privacy_mapper_kvdb.go firewalldb+lit: plug in SQL privacy mapper 2025-04-22 06:10:48 +02:00
privacy_mapper_sql.go firewalldb+lit: plug in SQL privacy mapper 2025-04-22 06:10:48 +02:00
privacy_mapper_test.go firewalldb: add clock.Clock to firewalldb DB impls 2025-05-13 08:06:16 +02:00
sql_store.go firewalldb: add clock.Clock to firewalldb DB impls 2025-05-13 08:06:16 +02:00
test_kvdb.go firewalldb: add clock.Clock to firewalldb DB impls 2025-05-13 08:06:16 +02:00
test_postgres.go firewalldb: add clock.Clock to firewalldb DB impls 2025-05-13 08:06:16 +02:00
test_sql.go firewalldb: add clock.Clock to firewalldb DB impls 2025-05-13 08:06:16 +02:00
test_sqlite.go firewalldb: add clock.Clock to firewalldb DB impls 2025-05-13 08:06:16 +02:00