@@ -90,7 +90,7 @@ public async Task SysbenchClientExecutorRunsTheExpectedWorkloadCommand()
9090 {
9191 SetupDefaultBehavior ( ) ;
9292
93- string expectedCommand = @$ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem MySQL --benchmark OLTP --workload oltp_read_write --threadCount 8 --tableCount 10 --recordCount 1000 --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
93+ string expectedCommand = @$ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem MySQL --benchmark OLTP --tableCount 10 --recordCount 1000 --threadCount 8 --workload oltp_read_write --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
9494 bool commandExecuted = false ;
9595
9696 this . fixture . ProcessManager . OnCreateProcess = ( exe , arguments , workingDir ) =>
@@ -136,7 +136,7 @@ public async Task SysbenchClientExecutorUsesDefinedParametersWhenRunningTheWorkl
136136 this . fixture . Parameters [ nameof ( SysbenchClientExecutor . TableCount ) ] = "40" ;
137137 this . fixture . Parameters [ nameof ( SysbenchClientExecutor . DatabaseScenario ) ] = "Configure" ;
138138
139- string expectedCommand = @$ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem MySQL --benchmark OLTP --workload oltp_read_write --threadCount 64 --tableCount 40 --recordCount 1000 --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
139+ string expectedCommand = @$ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem MySQL --benchmark OLTP --tableCount 40 --recordCount 1000 --threadCount 64 --workload oltp_read_write --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
140140 bool commandExecuted = false ;
141141
142142 this . fixture . ProcessManager . OnCreateProcess = ( exe , arguments , workingDir ) =>
@@ -179,7 +179,7 @@ public async Task SysbenchClientExecutorRunsTheExpectedBalancedScenario()
179179
180180 this . fixture . Parameters [ nameof ( SysbenchClientExecutor . DatabaseScenario ) ] = "Balanced" ;
181181
182- string expectedCommand = $ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem MySQL --benchmark OLTP --workload oltp_read_write --threadCount 8 --tableCount 10 --recordCount 1000 --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
182+ string expectedCommand = $ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem MySQL --benchmark OLTP --tableCount 10 --recordCount 1000 --threadCount 8 --workload oltp_read_write --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
183183 bool commandExecuted = false ;
184184
185185 this . fixture . ProcessManager . OnCreateProcess = ( exe , arguments , workingDir ) =>
@@ -222,7 +222,7 @@ public async Task SysbenchClientExecutorRunsInMemoryScenario()
222222
223223 this . fixture . Parameters [ nameof ( SysbenchClientExecutor . DatabaseScenario ) ] = "InMemory" ;
224224
225- string expectedCommand = $ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem MySQL --benchmark OLTP --workload oltp_read_write --threadCount 8 --tableCount 10 --recordCount 100000 --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
225+ string expectedCommand = $ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem MySQL --benchmark OLTP --tableCount 10 --recordCount 100000 --threadCount 8 --workload oltp_read_write --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
226226 bool commandExecuted = false ;
227227
228228 this . fixture . ProcessManager . OnCreateProcess = ( exe , arguments , workingDir ) =>
@@ -265,7 +265,7 @@ public async Task SysbenchClientExecutorRunsTheExpectedTPCCWorkloadCommand()
265265
266266 this . fixture . Parameters [ nameof ( SysbenchClientExecutor . Benchmark ) ] = "TPCC" ;
267267
268- string expectedCommand = $ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem MySQL --benchmark TPCC --workload tpcc --threadCount 8 --tableCount 10 --warehouses 100 --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
268+ string expectedCommand = $ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem MySQL --benchmark TPCC --tableCount 10 --warehouses 100 --threadCount 8 --workload tpcc --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
269269 bool commandExecuted = false ;
270270
271271 this . fixture . ProcessManager . OnCreateProcess = ( exe , arguments , workingDir ) =>
@@ -308,7 +308,7 @@ public async Task SysbenchClientExecutorRunsTheExpectedPostgreSQLOLTPWorkloadCom
308308
309309 this . fixture . Parameters [ nameof ( SysbenchClientExecutor . DatabaseSystem ) ] = "PostgreSQL" ;
310310
311- string expectedCommand = $ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem PostgreSQL --benchmark OLTP --workload oltp_read_write --threadCount 8 --tableCount 10 --recordCount 1000 --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
311+ string expectedCommand = $ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem PostgreSQL --benchmark OLTP --tableCount 10 --recordCount 1000 --threadCount 8 --workload oltp_read_write --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
312312 bool commandExecuted = false ;
313313
314314 this . fixture . ProcessManager . OnCreateProcess = ( exe , arguments , workingDir ) =>
@@ -352,7 +352,7 @@ public async Task SysbenchClientExecutorRunsTheExpectedPostgreSQLTPCCWorkloadCom
352352 this . fixture . Parameters [ nameof ( SysbenchClientExecutor . DatabaseSystem ) ] = "PostgreSQL" ;
353353 this . fixture . Parameters [ nameof ( SysbenchClientExecutor . Benchmark ) ] = "TPCC" ;
354354
355- string expectedCommand = $ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem PostgreSQL --benchmark TPCC --workload tpcc --threadCount 8 --tableCount 10 --warehouses 100 --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
355+ string expectedCommand = $ "python3 { this . mockPackagePath } /run-workload.py --dbName sbtest --databaseSystem PostgreSQL --benchmark TPCC --tableCount 10 --warehouses 100 --threadCount 8 --workload tpcc --hostIpAddress 1.2.3.5 --durationSecs 10 --password [A-Za-z0-9+/=]+";
356356 bool commandExecuted = false ;
357357
358358 this . fixture . ProcessManager . OnCreateProcess = ( exe , arguments , workingDir ) =>
0 commit comments