You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2024/05/31 15:03:12 UTC
(opendal) 03/06: Ready for s3 tests
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch streaming-read
in repository https://gitbox.apache.org/repos/asf/opendal.git
commit bcc5200036aa321752aff64362b29a20414685e6
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Fri May 31 22:46:48 2024 +0800
Ready for s3 tests
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
core/Cargo.toml | 11 ++++++-----
core/src/raw/tests/utils.rs | 8 ++++----
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 32fe17522f..1ea2470d5b 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -51,11 +51,12 @@ tests = [
"dep:rand",
"dep:sha2",
"dep:dotenvy",
- "layers-blocking",
- "services-azblob",
- "services-fs",
- "services-http",
- "services-memory",
+ # "layers-blocking",
+ # "services-azblob",
+ # "services-fs",
+ # "services-http",
+ # "services-memory",
+ "internal-tokio-rt",
"services-s3",
]
diff --git a/core/src/raw/tests/utils.rs b/core/src/raw/tests/utils.rs
index 6a39332234..91401f91c4 100644
--- a/core/src/raw/tests/utils.rs
+++ b/core/src/raw/tests/utils.rs
@@ -78,10 +78,10 @@ pub fn init_test_service() -> Result<Option<Operator>> {
.layer(layers::RetryLayer::new().with_max_times(4));
// Enable blocking layer if needed.
- if !op.info().full_capability().blocking {
- let _guard = TEST_RUNTIME.enter();
- op = op.layer(layers::BlockingLayer::create().expect("blocking layer must be created"));
- }
+ // if !op.info().full_capability().blocking {
+ // let _guard = TEST_RUNTIME.enter();
+ // op = op.layer(layers::BlockingLayer::create().expect("blocking layer must be created"));
+ // }
Ok(Some(op))
}