Skip to content

Commit

Permalink
fix: torrent repository tests. DashMap is not ordered
Browse files Browse the repository at this point in the history
DashMap implementation does not support returning torrent ordered, so we
have to skip those tests for this reporitoy implementation.
  • Loading branch information
josecelano committed Apr 9, 2024
1 parent 1e76c17 commit 4030fd1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/torrent-repository/tests/repository/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ async fn it_should_get_paginated_entries_in_a_stable_or_sorted_order(
tokio_std(),
tokio_mutex(),
tokio_tokio(),
skip_list_std(),
dash_map_std()
skip_list_std()
)]
repo: Repo,
#[case] entries: Entries,
Expand Down Expand Up @@ -321,8 +320,7 @@ async fn it_should_get_paginated(
tokio_std(),
tokio_mutex(),
tokio_tokio(),
skip_list_std(),
dash_map_std()
skip_list_std()
)]
repo: Repo,
#[case] entries: Entries,
Expand Down

0 comments on commit 4030fd1

Please sign in to comment.