Skip to content

Commit

Permalink
workflow: add timeout on ceph command
Browse files Browse the repository at this point in the history
In case of ceph monitor failure but the container is still up then
the ceph command will timeout only after 300s.
Adding --connect-timeout parameter to have the job in failure earlier.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 4d96298)
  • Loading branch information
dsavineau committed Jul 27, 2021
1 parent 491b071 commit 7c9ddb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
docker ps
docker ps -a
docker logs ceph-demo
docker exec ceph-demo ceph --cluster test -s
docker exec ceph-demo ceph --connect-timeout 3 --cluster test -s
arm64:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 7c9ddb6

Please sign in to comment.