test and fix #282

Sessions' last use updates weren't getting persisted to the database
because the update statement wasn't passing through the hash.

Also address a TODO of tracing in tests by using the same tracing
setup as in production.
This commit is contained in:
Scott Lamb
2023-07-04 20:42:15 -07:00
parent 028243532a
commit aa60bc991c
8 changed files with 64 additions and 5 deletions

View File

@@ -13,6 +13,7 @@ nightly = []
path = "lib.rs"
[dependencies]
chrono = "0.4.23"
failure = "0.1.1"
futures = "0.3"
libc = "0.2"
@@ -22,3 +23,6 @@ serde_json = "1.0"
slab = "0.4"
time = "0.1"
tracing = "0.1.37"
tracing-core = "0.1.30"
tracing-log = "0.1.3"
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "json"] }