Skip to content

Commit

Permalink
Use multi-threaded test rt for Ent tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rustworthy committed Jan 18, 2024
1 parent 5feea0c commit 150cda3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/real/async/community.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//!
//! Main diff:
//! - tests are marked this `async_` prefix;
//! - tokio multi-threaded rt used;
//! - AsyncConsumerBuilder used instead of ConsumerBuilder;
//! - AsyncProducer used instead of Producer;
//! - await used where needed;
Expand Down
2 changes: 1 addition & 1 deletion tests/real/async/enterprise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async fn print_job(j: Job) -> io::Result<()> {
Ok(eprintln!("{:?}", j))
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn async_ent_expiring_job() {
skip_if_not_enterprise!();

Expand Down

0 comments on commit 150cda3

Please sign in to comment.