8000 Fix Base Testsuite timeouts on Windows by Pepo48 · Pull Request #19744 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions quarkus/dist/src/main/content/bin/kc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
)

Expand Down Expand Up @@ -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
Expand All @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
0