Reducing timeout for windows and macOS unit test to 20m (#4791)

This commit is contained in:
Priti Kumari
2021-06-10 19:01:15 +05:30
committed by GitHub
parent 2040422522
commit ed7b8aef2e
2 changed files with 4 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ export SENDTOPIC=${SENDTOPIC:-"amqp.ci.topic.send"}
export SETUPSCRIPT=${SETUPSCRIPT:-"scripts/setup_script_e2e.sh"}
export RUNSCRIPT=${RUNSCRIPT:-"scripts/run_script_e2e.sh"}
export SENDEXCHANGE=${SENDEXCHANGE:-"amqp.ci.exchange.send"}
export TIMEOUT=${TIMEOUT:-"4h00m"}
# show commands
set -x
@@ -32,5 +33,5 @@ echo "Getting ci-firewall, see https://github.com,/mohammedzee1000/ci-firewall"
curl -kLO https://github.com/mohammedzee1000/ci-firewall/releases/download/$CI_FIREWALL_VERSION/ci-firewall-linux-amd64.tar.gz
tar -xzf ci-firewall-linux-amd64.tar.gz
./ci-firewall request --mainbranch main --sendqueue $SENDQUEUE --sendtopic $SENDTOPIC --sendexchange $SENDEXCHANGE --setupscript $SETUPSCRIPT --jenkinsproject $JOB_NAME --runscript $RUNSCRIPT --timeout 4h00m
./ci-firewall request --mainbranch main --sendqueue $SENDQUEUE --sendtopic $SENDTOPIC --sendexchange $SENDEXCHANGE --setupscript $SETUPSCRIPT --jenkinsproject $JOB_NAME --runscript $RUNSCRIPT --timeout $TIMEOUT

View File

@@ -10,6 +10,7 @@ case $1 in
export RUNSCRIPT="scripts/run_script_unit.sh"
export JOB_NAME=odo-windows-unit-pr-build
export SENDEXCHANGE=amqp.ci.exchange.win.unit.send
export TIMEOUT="20m"
;;
mac)
@@ -19,6 +20,7 @@ case $1 in
export RUNSCRIPT="scripts/run_script_unit.sh"
export JOB_NAME=odo-mac-unit-pr-build
export SENDEXCHANGE=amqp.ci.exchange.mac.unit.send
export TIMEOUT="20m"
;;
esac