Reset test threads to 1 (should fix test issues in GHA)

This commit is contained in:
Matthew Esposito 2023-12-29 20:33:43 -05:00
parent 90a800ff44
commit d86b77ab56
No known key found for this signature in database
4 changed files with 9 additions and 9 deletions

View file

@ -444,7 +444,7 @@ async fn subreddit(sub: &str, quarantined: bool) -> Result<Subreddit, String> {
})
}
#[tokio::test(flavor = "multi_thread", worker_threads = 8)]
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
async fn test_fetching_subreddit() {
let subreddit = subreddit("rust", false).await;
assert!(subreddit.is_ok());