Initial import of the CBDDC codebase with docs and tests. Add a .NET-focused gitignore to keep generated artifacts out of source control.
Some checks failed
CI / verify (push) Has been cancelled
Some checks failed
CI / verify (push) Has been cancelled
This commit is contained in:
17
stress_test.bat
Executable file
17
stress_test.bat
Executable file
@@ -0,0 +1,17 @@
|
||||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
echo Starting Stress Test with 40 Nodes...
|
||||
echo Errors will be logged to stress_errors.log
|
||||
|
||||
rem Clear previous log
|
||||
if exist stress_errors.log del stress_errors.log
|
||||
|
||||
for /L %%i in (1,1,80) do (
|
||||
set /a port=23200+%%i
|
||||
echo Starting Node-%%i on Port !port!
|
||||
start "Node-%%i" dotnet run --project samples/ZB.MOM.WW.CBDDC.Sample.Console/ZB.MOM.WW.CBDDC.Sample.Console.csproj -- node-%%i !port! --localhost --error-log stress_errors_node-%%i.log
|
||||
timeout /t 1 >nul
|
||||
)
|
||||
|
||||
echo All 40 nodes started.
|
||||
pause
|
||||
Reference in New Issue
Block a user