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

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

commit 24477a9c79aa3b3fd28b61cf7c8a014719af73ca
Author: Xuanwo <[email protected]>
AuthorDate: Mon Jan 29 16:46:11 2024 +0800

    Try one thread
    
    Signed-off-by: Xuanwo <[email protected]>
---
 .github/services/pcloud/pcloud/action.yml | 6 ++++++
 core/src/services/pcloud/backend.rs       | 1 -
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/services/pcloud/pcloud/action.yml 
b/.github/services/pcloud/pcloud/action.yml
index 0d01853d1d..b7d878982f 100644
--- a/.github/services/pcloud/pcloud/action.yml
+++ b/.github/services/pcloud/pcloud/action.yml
@@ -30,3 +30,9 @@ runs:
         OPENDAL_PCLOUD_ENDPOINT: op://services/pcloud/endpoint
         OPENDAL_PCLOUD_USERNAME: op://services/pcloud/username
         OPENDAL_PCLOUD_PASSWORD: op://services/pcloud/password
+    - name: Only run pcloud with 1 thread
+      shell: bash
+      run: |
+        cat << EOF >> $GITHUB_ENV
+        RUST_TEST_THREADS=1
+        EOF
diff --git a/core/src/services/pcloud/backend.rs 
b/core/src/services/pcloud/backend.rs
index 2696704e26..6de42fe9a8 100644
--- a/core/src/services/pcloud/backend.rs
+++ b/core/src/services/pcloud/backend.rs
@@ -253,7 +253,6 @@ impl Accessor for PcloudBackend {
                 delete: true,
                 rename: true,
                 copy: true,
-
                 list: true,
 
                 ..Default::default()

Reply via email to