aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-03-16 13:35:43 +0100
committerGitHub <noreply@github.com>2022-03-16 13:35:43 +0100
commitd59179ae1960be1a449771eb3f0b1689fc2ff5e2 (patch)
treecb56c7f8b92c8bf744c0ab572b9ee03c62dca2a5
parenta626307da8e9a4e5124da1c35429892f745b2de9 (diff)
parent25e4eb0f4244d83b89fbf8fe925029880f76ba82 (diff)
downloadnextcloud-server-d59179ae1960be1a449771eb3f0b1689fc2ff5e2.tar.gz
nextcloud-server-d59179ae1960be1a449771eb3f0b1689fc2ff5e2.zip
Merge pull request #31578 from nextcloud/s3-test-reliability
try to improve s3 primary storage test reliability
-rw-r--r--.github/workflows/s3-primary.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/s3-primary.yml b/.github/workflows/s3-primary.yml
index 3ea21b768ec..809e26a8e38 100644
--- a/.github/workflows/s3-primary.yml
+++ b/.github/workflows/s3-primary.yml
@@ -49,6 +49,13 @@ jobs:
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f index.php
+ - name: Wait for S3
+ run: |
+ sleep 10
+ curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 1 http://localhost:9000/minio/health/ready
+ sleep 10
+ curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 1 http://localhost:9000/minio/health/ready
+
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB