From 91861d7a29f2a9cc010adb7c2621a78951bbae0a Mon Sep 17 00:00:00 2001 From: Tim Zhang Date: Wed, 9 Oct 2024 13:55:21 +0800 Subject: [PATCH] debug sync test Signed-off-by: Tim Zhang --- .github/workflows/bvt.yml | 1 + tests/sync-test.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bvt.yml b/.github/workflows/bvt.yml index ba6f519d..6f77b136 100644 --- a/.github/workflows/bvt.yml +++ b/.github/workflows/bvt.yml @@ -29,6 +29,7 @@ jobs: make -C compiler make -C ttrpc-codegen make -C example build-examples + shell: bash deny: runs-on: ubuntu-latest diff --git a/tests/sync-test.rs b/tests/sync-test.rs index a5a92149..b7ac67dc 100644 --- a/tests/sync-test.rs +++ b/tests/sync-test.rs @@ -29,7 +29,7 @@ fn run_sync_example() -> Result<(), Box> { match client.try_wait() { Ok(Some(status)) => { - client_succeeded = status.success(); + client_succeeded = false; break; } Ok(None) => {