This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 2d888a73e chore: Disable blocking layer unitl we make all services
passed (#2806)
2d888a73e is described below
commit 2d888a73e20958c8b0e7157f037c3176305a0dff
Author: Xuanwo <[email protected]>
AuthorDate: Mon Aug 7 17:45:23 2023 +0800
chore: Disable blocking layer unitl we make all services passed (#2806)
Signed-off-by: Xuanwo <[email protected]>
---
core/tests/behavior/utils.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/tests/behavior/utils.rs b/core/tests/behavior/utils.rs
index 1d3e2dcb1..62b6eccf2 100644
--- a/core/tests/behavior/utils.rs
+++ b/core/tests/behavior/utils.rs
@@ -28,9 +28,9 @@ use futures::Future;
use libtest_mimic::Failed;
use libtest_mimic::Trial;
use log::debug;
+use opendal::layers::LoggingLayer;
use opendal::layers::RetryLayer;
use opendal::layers::TimeoutLayer;
-use opendal::layers::{BlockingLayer, LoggingLayer};
use opendal::*;
use rand::distributions::uniform::SampleRange;
use rand::prelude::*;
@@ -83,7 +83,7 @@ pub fn init_service<B: Builder>() -> Option<Operator> {
let _guard = RUNTIME.enter();
let op = op
- .layer(BlockingLayer::create().expect("blocking layer must be
created"))
+ // .layer(BlockingLayer::create().expect("blocking layer must be
created"))
.layer(LoggingLayer::default())
.layer(TimeoutLayer::new())
.layer(RetryLayer::new())