mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
test: more time
This commit is contained in:
parent
c850b6e118
commit
5887254da9
1 changed files with 1 additions and 1 deletions
2
.github/workflows/docker-k8s.yml
vendored
2
.github/workflows/docker-k8s.yml
vendored
|
@ -98,7 +98,7 @@ jobs:
|
||||||
bash Resources/scripts/wait.sh http://localhost:8001/api/v1/namespaces/pokeapi/services/pokeapi/proxy/api/v2/pal-park-area/5/
|
bash Resources/scripts/wait.sh http://localhost:8001/api/v1/namespaces/pokeapi/services/pokeapi/proxy/api/v2/pal-park-area/5/
|
||||||
- name: K8s wait for job
|
- name: K8s wait for job
|
||||||
run: |
|
run: |
|
||||||
kubectl wait --timeout=1020s --for=condition=complete job/load-graphql
|
kubectl wait --timeout=10020s --for=condition=complete job/load-graphql
|
||||||
last_command=$(kubectl get job -o jsonpath='{.status.succeeded}' load-graphql)
|
last_command=$(kubectl get job -o jsonpath='{.status.succeeded}' load-graphql)
|
||||||
test "$last_command" -eq 1
|
test "$last_command" -eq 1
|
||||||
kubectl logs jobs load-graphql
|
kubectl logs jobs load-graphql
|
||||||
|
|
Loading…
Reference in a new issue