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/07/21 08:44:56 UTC
[incubator-opendal] branch main updated: fix: owncloud test sometimes fail (#2684)
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 5edd772da fix: owncloud test sometimes fail (#2684)
5edd772da is described below
commit 5edd772da3ea9b0804564a72f177c3c28fc9ff45
Author: dqhl76 <dq...@gmail.com>
AuthorDate: Fri Jul 21 16:44:52 2023 +0800
fix: owncloud test sometimes fail (#2684)
fix: owncloud sometimes fail
Signed-off-by: dqhl76 <dq...@gmail.com>
---
.github/workflows/service_test_webdav.yml | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/service_test_webdav.yml b/.github/workflows/service_test_webdav.yml
index 0cdf7fe1c..2f96ea2c0 100644
--- a/.github/workflows/service_test_webdav.yml
+++ b/.github/workflows/service_test_webdav.yml
@@ -202,6 +202,22 @@ jobs:
OWNCLOUD_DOMAIN: localhost:8080
OWNCLOUD_TRUSTED_DOMAINS: localhost
HTTP_PORT: 8080
+ OWNCLOUD_REDIS_ENABLED: true
+ OWNCLOUD_REDIS_HOST: redis
+ options: >-
+ --health-cmd "/usr/bin/healthcheck"
+ --health-interval 10s
+ --health-timeout 5s
+ --health-retries 5
+
+
+ redis:
+ image: redis
+ options: >-
+ --health-cmd "redis-cli ping"
+ --health-interval 10s
+ --health-timeout 5s
+ --health-retries 5
steps:
- uses: actions/checkout@v3
@@ -214,9 +230,9 @@ jobs:
shell: bash
working-directory: core
run: |
- cargo test webdav -j=1
+ cargo test webdav
env:
OPENDAL_WEBDAV_TEST: on
OPENDAL_WEBDAV_ENDPOINT: http://127.0.0.1:8080/remote.php/webdav/
OPENDAL_WEBDAV_USERNAME: admin
- OPENDAL_WEBDAV_PASSWORD: admin
+ OPENDAL_WEBDAV_PASSWORD: admin
\ No newline at end of file