Skip to content
Closed
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
2 changes: 1 addition & 1 deletion scripts/start-rc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ set CLASSPATH="hazelcast-remote-controller-%HAZELCAST_RC_VERSION%.jar;hazelcast-
echo "Starting Remote Controller ... enterprise ...Using classpath: %CLASSPATH%"

echo "Starting hazelcast-remote-controller"
start "hazelcast-remote-controller" /MIN cmd /c "java -Dhazelcast.enterprise.license.key=%HAZELCAST_ENTERPRISE_KEY% -Dhazelcast.phone.home.enabled=false -cp %CLASSPATH% com.hazelcast.remotecontroller.Main --use-simple-server"
start "hazelcast-remote-controller" /MIN cmd /c "java -Dhazelcast.enterprise.license.key=%HAZELCAST_ENTERPRISE_KEY% -Dhazelcast.phone.home.enabled=false -cp %CLASSPATH% com.hazelcast.remotecontroller.Main --use-simple-server > rc_stdout.log 2>&1"
5 changes: 5 additions & 0 deletions scripts/test-windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ echo "Waiting for the test server to start. Timeout: %timeout% seconds"
:server_failed_to_start
echo "The test server did not start in %RC_START_TIMEOUT_IN_SECS% seconds. Test FAILED."
call taskkill /F /FI "WINDOWTITLE eq hazelcast-remote-controller"
if exist rc_stdout.log type rc_stdout.log
exit /b 1

:server_started
Expand All @@ -65,4 +66,8 @@ set result=%errorlevel%

taskkill /T /F /FI "WINDOWTITLE eq hazelcast-remote-controller"

echo "========== Remote Controller Output =========="
if exist rc_stdout.log type rc_stdout.log
echo "========== End Remote Controller Output =========="

exit /b %result%
Loading