test(cache): use unique key in roundtrip test to avoid parallelism conflict
This commit is contained in:
parent
3041535cf7
commit
73b4d28135
@ -255,7 +255,7 @@ mod tests {
|
|||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn post_list_cache_roundtrip() {
|
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![];
|
let posts = vec![];
|
||||||
|
|
||||||
set_post_list(&key, posts.clone()).await;
|
set_post_list(&key, posts.clone()).await;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user