Skip to content

Commit 9da99da

Browse files
committed
resolving build errors
1 parent 3972ccb commit 9da99da

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

src/VirtualClient/VirtualClient.Actions.UnitTests/Sysbench/SysbenchClientExecutorTests.cs

+10-10
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ public async Task SysbenchClientExecutorRunsTheExpectedWorkloadCommand()
100100
commandExecuted = true;
101101
}
102102

103-
Assert.IsTrue(commandExecuted);
104-
105103
InMemoryProcess process = new InMemoryProcess
106104
{
107105
StartInfo = new ProcessStartInfo
@@ -124,6 +122,8 @@ public async Task SysbenchClientExecutorRunsTheExpectedWorkloadCommand()
124122
{
125123
await SysbenchExecutor.ExecuteAsync(CancellationToken.None);
126124
}
125+
126+
Assert.IsTrue(commandExecuted);
127127
}
128128

129129
[Test]
@@ -146,8 +146,6 @@ public async Task SysbenchClientExecutorUsesDefinedParametersWhenRunningTheWorkl
146146
commandExecuted = true;
147147
}
148148

149-
Assert.IsTrue(commandExecuted);
150-
151149
InMemoryProcess process = new InMemoryProcess
152150
{
153151
StartInfo = new ProcessStartInfo
@@ -170,6 +168,8 @@ public async Task SysbenchClientExecutorUsesDefinedParametersWhenRunningTheWorkl
170168
{
171169
await SysbenchExecutor.ExecuteAsync(CancellationToken.None);
172170
}
171+
172+
Assert.IsTrue(commandExecuted);
173173
}
174174

175175
[Test]
@@ -189,8 +189,6 @@ public async Task SysbenchClientExecutorRunsTheExpectedBalancedScenario()
189189
commandExecuted = true;
190190
}
191191

192-
Assert.IsTrue(commandExecuted);
193-
194192
InMemoryProcess process = new InMemoryProcess
195193
{
196194
StartInfo = new ProcessStartInfo
@@ -213,6 +211,8 @@ public async Task SysbenchClientExecutorRunsTheExpectedBalancedScenario()
213211
{
214212
await SysbenchExecutor.ExecuteAsync(CancellationToken.None);
215213
}
214+
215+
Assert.IsTrue(commandExecuted);
216216
}
217217

218218
[Test]
@@ -232,8 +232,6 @@ public async Task SysbenchClientExecutorRunsInMemoryScenario()
232232
commandExecuted = true;
233233
}
234234

235-
Assert.IsTrue(commandExecuted);
236-
237235
InMemoryProcess process = new InMemoryProcess
238236
{
239237
StartInfo = new ProcessStartInfo
@@ -256,6 +254,8 @@ public async Task SysbenchClientExecutorRunsInMemoryScenario()
256254
{
257255
await SysbenchExecutor.ExecuteAsync(CancellationToken.None).ConfigureAwait(false);
258256
}
257+
258+
Assert.IsTrue(commandExecuted);
259259
}
260260

261261
[Test]
@@ -275,8 +275,6 @@ public async Task SysbenchClientExecutorRunsTheExpectedTPCCWorkloadCommand()
275275
commandExecuted = true;
276276
}
277277

278-
Assert.IsTrue(commandExecuted);
279-
280278
InMemoryProcess process = new InMemoryProcess
281279
{
282280
StartInfo = new ProcessStartInfo
@@ -299,6 +297,8 @@ public async Task SysbenchClientExecutorRunsTheExpectedTPCCWorkloadCommand()
299297
{
300298
await SysbenchExecutor.ExecuteAsync(CancellationToken.None);
301299
}
300+
301+
Assert.IsTrue(commandExecuted);
302302
}
303303

304304
[Test]

0 commit comments

Comments
 (0)