diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-03-28 14:06:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-28 14:06:57 -0600 |
commit | c65149c0a072fa710098b14776c6cd3cc8a204d6 (patch) | |
tree | 7aafd51e926198a097a5ff93786800171db89bc6 /test_util/src/lib.rs | |
parent | 35fd8583efce33eaec4d88a26d96a5efb1690911 (diff) |
fix(core): restore cache journal mode to TRUNCATE and tweak tokio test in CacheDB (#18469)
Fast-follow on #18401 -- the reason that some tests were panicking in
the `CacheDB` `impl Drop` was that the cache itself was being dropped
during panic and the runtime may or may not still exist at that point.
We can reduce the actual tokio runtime testing to where it's needed.
In addition, we return the journal mode to `TRUNCATE` to avoid the risk
of data corruption.
Diffstat (limited to 'test_util/src/lib.rs')
0 files changed, 0 insertions, 0 deletions