From 073931d943c7ac772079d7c02c935a03f495f1b5 Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> Date: Mon, 1 Apr 2024 01:12:04 +0500 Subject: [PATCH] kill weed --- .github/workflows/s3tests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/s3tests.yml b/.github/workflows/s3tests.yml index 5911450a2..c2e9a2529 100644 --- a/.github/workflows/s3tests.yml +++ b/.github/workflows/s3tests.yml @@ -191,6 +191,7 @@ jobs: s3tests_boto3/functional/test_s3.py::test_ranged_request_return_trailing_bytes_response_code \ s3tests_boto3/functional/test_s3.py::test_copy_object_ifmatch_good \ s3tests_boto3/functional/test_s3.py::test_copy_object_ifnonematch_failed + pkill weed - uses: actions/checkout@v4 with: @@ -201,7 +202,14 @@ jobs: timeout-minutes: 15 shell: bash run: | + set -x + nohup weed -v 0 server -filer -s3 -ip.bind 0.0.0.0 \ + -master.raftHashicorp -master.electionTimeout 1s -master.volumeSizeLimitMB=1024 \ + -volume.max=100 -volume.preStopSeconds=1 -s3.port=8000 -metricsPort=9324 \ + -s3.allowEmptyFolder=false -s3.allowDeleteBucketNotEmpty=true -s3.config=../docker/compose/s3.json & + sleep 10 mkdir -p ~/.config/rclone cp /__w/seaweedfs/seaweedfs/docker/compose/rclone.conf ~/.config/rclone/rclone.conf cd /__w/seaweedfs/seaweedfs/rclone/backend/s3 go test -v -remote swfs: + pkill weed