mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Merge pull request #174 from stephen-turner/increase-test-timeout
CA-142537 Increase NUnit timeout
This commit is contained in:
commit
0c9d8cca51
@ -50,12 +50,12 @@ set +e
|
||||
"/cygdrive/c/Program Files/NUnit 2.5.10/bin/net-2.0/nunit-console.exe" /process=separate /noshadow /labels /err="C:\cygwin\tmp\error.nunit.log" /timeout=40000 /output="C:\cygwin\tmp\output.nunit.log" /xml="C:\cygwin\tmp\XenAdminTests.xml" "C:\cygwin\tmp\Release\XenAdminTests.dll" "/framework=net-4.0" &
|
||||
|
||||
pid=$!
|
||||
(sleep 2000 ; kill $pid 2>/dev/null ) &
|
||||
(sleep 3000 ; kill $pid 2>/dev/null ) &
|
||||
sleeperpid=$!
|
||||
wait $pid
|
||||
if [ $? = 143 ]
|
||||
then
|
||||
echo "Tests were terminated due to 2000 timeout."
|
||||
echo "Tests were terminated due to 3000 timeout."
|
||||
fi
|
||||
set -e
|
||||
|
||||
|
@ -39,7 +39,7 @@ then
|
||||
echo -n "Starting tests at "
|
||||
date
|
||||
|
||||
TIMEOUT=2000
|
||||
TIMEOUT=3000
|
||||
|
||||
VIADAEMON=./myrepos/xenadmin.hg/mk/viadaemon.py
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user