test(cache): use unique key in roundtrip test to avoid parallelism conflict

This commit is contained in:
xfy 2026-06-09 17:20:03 +08:00
parent 3041535cf7
commit 73b4d28135

View File

@ -255,7 +255,7 @@ mod tests {
#[tokio::test]
async fn post_list_cache_roundtrip() {
let key = CacheKey::PublishedPosts { page: 1, per_page: 10 };
let key = CacheKey::PublishedPosts { page: 999, per_page: 99 };
let posts = vec![];
set_post_list(&key, posts.clone()).await;