Skip to content

Commit

Permalink
Uncomment clean-up logic in server_state test
Browse files Browse the repository at this point in the history
  • Loading branch information
rustworthy committed May 26, 2024
1 parent d896e64 commit 76e7b2f
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions tests/real/community.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,15 @@ async fn server_state() {
server_state.data.total_processed
);

// Uncomment when `Client::queue_remove` is delivered:
// client.queue_remove(&[local]).await.unwrap();
// assert!(client
// .current_info()
// .await
// .unwrap()
// .data
// .queues
// .get(local)
// .is_none());
client.queue_remove(&[local]).await.unwrap();
assert!(client
.current_info()
.await
.unwrap()
.data
.queues
.get(local)
.is_none());
}

#[tokio::test(flavor = "multi_thread")]
Expand Down

0 comments on commit 76e7b2f

Please sign in to comment.