Add cgroup setup, increase test timeouts
This commit is contained in:
parent
eca52b10b7
commit
79f371fd15
@ -39,4 +39,7 @@ jobs:
|
|||||||
- name: "Install Kubectl"
|
- name: "Install Kubectl"
|
||||||
run: ./tests/scripts/install-kubectl.sh
|
run: ./tests/scripts/install-kubectl.sh
|
||||||
- name: "Run k8s deployment test"
|
- name: "Run k8s deployment test"
|
||||||
run: ./tests/k8s-deploy/run-deploy-test.sh
|
run: |
|
||||||
|
source /opt/bash-utils/cgroup-helper.sh
|
||||||
|
join_cgroup
|
||||||
|
./tests/k8s-deploy/run-deploy-test.sh
|
||||||
|
@ -9,7 +9,7 @@ fi
|
|||||||
|
|
||||||
# Helper functions: TODO move into a separate file
|
# Helper functions: TODO move into a separate file
|
||||||
wait_for_pods_started () {
|
wait_for_pods_started () {
|
||||||
for i in {1..5}
|
for i in {1..50}
|
||||||
do
|
do
|
||||||
local ps_output=$( $TEST_TARGET_SO deployment --dir $test_deployment_dir ps )
|
local ps_output=$( $TEST_TARGET_SO deployment --dir $test_deployment_dir ps )
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ wait_for_pods_started () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
wait_for_log_output () {
|
wait_for_log_output () {
|
||||||
for i in {1..5}
|
for i in {1..50}
|
||||||
do
|
do
|
||||||
|
|
||||||
local log_output=$( $TEST_TARGET_SO deployment --dir $test_deployment_dir logs )
|
local log_output=$( $TEST_TARGET_SO deployment --dir $test_deployment_dir logs )
|
||||||
|
Loading…
Reference in New Issue
Block a user