Skip to content

Commit 6b264b8

Browse files
committed
debug
Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent 44b8b5e commit 6b264b8

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

.github/workflows/test_edge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,4 @@ jobs:
138138
OPENDAL_S3_BUCKET: opendal-testing
139139
OPENDAL_S3_ROLE_ARN: arn:aws:iam::952853449216:role/opendal-testing
140140
OPENDAL_S3_REGION: ap-northeast-1
141+
RUST_LOG: debug

core/Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/edge/s3_aws_assume_role_with_web_identity/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ version.workspace = true
2727
[dependencies]
2828
opendal = { path = "../..", features = ["tests"] }
2929
tokio = { version = "1", features = ["full"] }
30+
tracing-subscriber = "0.3.20"
3031
uuid = { version = "1", features = ["serde", "v4"] }

core/edge/s3_aws_assume_role_with_web_identity/src/main.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ use opendal::raw::tests::init_test_service;
2121

2222
#[tokio::main]
2323
async fn main() -> Result<()> {
24+
let _ = tracing_subscriber::fmt()
25+
.pretty()
26+
.with_test_writer()
27+
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
28+
.try_init();
29+
2430
let op = init_test_service()?.expect("service must be init");
2531
assert_eq!(op.info().scheme(), Scheme::S3);
2632

0 commit comments

Comments
 (0)