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 2023/05/08 15:46:19 UTC

[incubator-opendal] branch fix-build created (now 6ba6704e)

This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a change to branch fix-build
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


      at 6ba6704e chore: Fix build of wasabi

This branch includes the following new commits:

     new 6ba6704e chore: Fix build of wasabi

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-opendal] 01/01: chore: Fix build of wasabi

Posted by xu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch fix-build
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git

commit 6ba6704e455d3ecc1c8677bd8ad4d829c8e7d719
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Mon May 8 23:45:59 2023 +0800

    chore: Fix build of wasabi
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 core/src/services/wasabi/backend.rs | 2 +-
 core/tests/behavior/utils.rs        | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/core/src/services/wasabi/backend.rs b/core/src/services/wasabi/backend.rs
index 671c477b..ecb54bfc 100644
--- a/core/src/services/wasabi/backend.rs
+++ b/core/src/services/wasabi/backend.rs
@@ -1148,7 +1148,7 @@ mod tests {
 
     #[test]
     fn test_build_endpoint() {
-        let _ = env_logger::try_init();
+        let _ = tracing_subscriber::fmt().with_test_writer().try_init();
 
         let endpoint_cases = vec![
             Some("s3.wasabisys.com"),
diff --git a/core/tests/behavior/utils.rs b/core/tests/behavior/utils.rs
index 6343015b..9a4671db 100644
--- a/core/tests/behavior/utils.rs
+++ b/core/tests/behavior/utils.rs
@@ -39,7 +39,10 @@ use sha2::Sha256;
 /// - If `opendal_{schema}_test` is on, construct a new Operator with given root.
 /// - Else, returns a `None` to represent no valid config for operator.
 pub fn init_service<B: Builder>() -> Option<Operator> {
-    let _ = tracing_subscriber::fmt().with_test_writer().try_init();
+    let _ = tracing_subscriber::fmt()
+        .pretty()
+        .with_test_writer()
+        .try_init();
     let _ = dotenvy::dotenv();
 
     let prefix = format!("opendal_{}_", B::SCHEME);