moved Tokio runtime from general dependency to dev dependency (#167)

* moved Tokio runtime from general dependency to dev dependency
* reduced number of worker threads in tests
This commit is contained in:
Henk-Jan Lebbink
2025-06-18 11:26:29 +02:00
committed by GitHub
parent 1af3f72c12
commit 6f904b452a
54 changed files with 305 additions and 298 deletions

View File

@@ -18,7 +18,7 @@ use minio::s3::response::{BucketExistsResponse, DeleteBucketResponse};
use minio::s3::types::S3Api;
use minio_common::test_context::TestContext;
#[tokio::test(flavor = "multi_thread", worker_threads = 10)]
#[tokio::test(flavor = "multi_thread")]
async fn bucket_exists() {
let ctx = TestContext::new_from_env();
let (bucket_name, _cleanup) = ctx.create_bucket_helper().await;