From 3998bed87d9eaa95ea1e1e205bac1fa218a9e0f1 Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com> Date: Fri, 25 Nov 2022 10:48:17 +0000 Subject: [PATCH] Add sleep to object_store CI (#3189) * Add sleep to object_store CI * Update .github/workflows/object_store.yml Co-authored-by: Andrew Lamb Co-authored-by: Andrew Lamb --- .github/workflows/object_store.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/object_store.yml b/.github/workflows/object_store.yml index 370c1ced380..23c5bab13a3 100644 --- a/.github/workflows/object_store.yml +++ b/.github/workflows/object_store.yml @@ -86,6 +86,8 @@ jobs: - name: Configure Fake GCS Server (GCP emulation) run: | docker run -d -p 4443:4443 fsouza/fake-gcs-server -scheme http + # Give the container a moment to start up prior to configuring it + sleep 1 curl -v -X POST --data-binary '{"name":"test-bucket"}' -H "Content-Type: application/json" "http://localhost:4443/storage/v1/b" echo '{"gcs_base_url": "http://localhost:4443", "disable_oauth": true, "client_email": "", "private_key": ""}' > "$GOOGLE_SERVICE_ACCOUNT"