Fix Base Testsuite timeouts on Windows
This commit is contained in:
parent
48354a1bb8
commit
78958ae434
2 changed files with 4 additions and 5 deletions
6
quarkus/dist/src/main/content/bin/kc.bat
vendored
6
quarkus/dist/src/main/content/bin/kc.bat
vendored
|
@ -128,7 +128,7 @@ if "x%JAVA_HOME%" == "x" (
|
|||
echo "%JAVA_HOME%\bin\java.exe" does not exist
|
||||
goto END
|
||||
)
|
||||
set JAVA=%JAVA_HOME%\bin\java
|
||||
set "JAVA=%JAVA_HOME%\bin\java"
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -159,7 +159,7 @@ set START_SERVER=true
|
|||
if "!CONFIG_ARGS:%OPTIMIZED_OPTION%=!"=="!CONFIG_ARGS!" if "!CONFIG_ARGS:%BUILD_OPTION%=!"=="!CONFIG_ARGS!" if "!CONFIG_ARGS:%HELP_LONG_OPTION%=!"=="!CONFIG_ARGS!" if "%IS_HELP_SHORT%" == "false" (
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
%JAVA% -Dkc.config.build-and-exit=true %JAVA_RUN_OPTS%
|
||||
"%JAVA%" -Dkc.config.build-and-exit=true %JAVA_RUN_OPTS%
|
||||
|
||||
if not !errorlevel! == 0 (
|
||||
set START_SERVER=false
|
||||
|
@ -169,7 +169,7 @@ if "!CONFIG_ARGS:%OPTIMIZED_OPTION%=!"=="!CONFIG_ARGS!" if "!CONFIG_ARGS:%BUILD_
|
|||
)
|
||||
|
||||
if "%START_SERVER%" == "true" (
|
||||
%JAVA% %JAVA_RUN_OPTS%
|
||||
"%JAVA%" %JAVA_RUN_OPTS%
|
||||
)
|
||||
|
||||
:END
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
<arg value="--http-relative-path=/auth"/>
|
||||
<arg value="--cache=local"/>
|
||||
</exec>
|
||||
<exec osfamily="windows" executable="cmd" dir="${auth.server.home}/bin" failonerror="true">
|
||||
<arg value="kc.bat" />
|
||||
<exec osfamily="windows" executable="${auth.server.home}/bin/kc.bat" failonerror="true">
|
||||
<arg value="build"/>
|
||||
<arg value="--http-relative-path=/auth"/>
|
||||
<arg value="--cache=local"/>
|
||||
|
|
Loading…
Reference in a new issue