summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-03-15 16:05:19 +0100
committerRobin Appelman <robin@icewind.nl>2022-03-15 17:07:19 +0100
commit25e4eb0f4244d83b89fbf8fe925029880f76ba82 (patch)
treeb6cd0a6c0c93a238d4cc29c4a05d97f8ff719db8 /.github
parentee2f3bcaf169599df54a534430121a658306cdc7 (diff)
downloadnextcloud-server-25e4eb0f4244d83b89fbf8fe925029880f76ba82.tar.gz
nextcloud-server-25e4eb0f4244d83b89fbf8fe925029880f76ba82.zip
try to improve s3 primary storage test reliability
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to '.github')
-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