6981005: TEST BUG: java/lang/ClassLoader/TestCrossDelegate.sh timeout on windows
Increase timeout value Reviewed-by: alanb
This commit is contained in:
parent
7fe5113fe7
commit
c8f3efcc75
@ -201,9 +201,6 @@ java/lang/ThreadLocal/MemoryLeak.java solaris-all
|
||||
# Windows X64, RuntimeException: MyThread expected to have RUNNABLE but got WAITING
|
||||
java/lang/Thread/ThreadStateTest.java generic-all
|
||||
|
||||
# Timeout on windows 64bit
|
||||
java/lang/ClassLoader/deadlock/TestCrossDelegate.sh generic-all
|
||||
|
||||
############################################################################
|
||||
|
||||
# jdk_management
|
||||
|
@ -25,7 +25,7 @@
|
||||
# @summary (cl) ClassLoader.loadClass locks all instances in chain
|
||||
# when delegating
|
||||
#
|
||||
# @run shell/timeout=10 TestCrossDelegate.sh
|
||||
# @run shell/timeout=300 TestCrossDelegate.sh
|
||||
|
||||
# if running by hand on windows, change TESTSRC and TESTCLASSES to "."
|
||||
if [ "${TESTSRC}" = "" ] ; then
|
||||
@ -41,10 +41,6 @@ if [ "${TESTJAVA}" = "" ] ; then
|
||||
echo "FAILED!!!"
|
||||
exit 1
|
||||
fi
|
||||
echo TESTSRC=${TESTSRC}
|
||||
echo TESTCLASSES=${TESTCLASSES}
|
||||
echo TESTJAVA=${TESTJAVA}
|
||||
echo ""
|
||||
|
||||
# set platform-specific variables
|
||||
OS=`uname -s`
|
||||
@ -55,11 +51,20 @@ case "$OS" in
|
||||
Linux )
|
||||
FS="/"
|
||||
;;
|
||||
Windows* | CYGWIN* )
|
||||
Windows*)
|
||||
FS="\\"
|
||||
;;
|
||||
CYGWIN* )
|
||||
FS="\\"
|
||||
TESTCLASSES=`/usr/bin/cygpath -a -s -m ${TESTCLASSES}`
|
||||
;;
|
||||
esac
|
||||
|
||||
echo TESTSRC=${TESTSRC}
|
||||
echo TESTCLASSES=${TESTCLASSES}
|
||||
echo TESTJAVA=${TESTJAVA}
|
||||
echo ""
|
||||
|
||||
# compile test
|
||||
${TESTJAVA}${FS}bin${FS}javac \
|
||||
-d ${TESTCLASSES} \
|
||||
|
Loading…
Reference in New Issue
Block a user