Skip to content

Commit 6fc009d

Browse files
committed
run real load tests only in debug
1 parent d5f109d commit 6fc009d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/QAToolKit.Engine.Bombardier.Test/BombardierTestsRunnerTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ public BombardierTestsRunnerTests(ITestOutputHelper testOutputHelper)
2323
_logger = loggerFactory.CreateLogger<BombardierTestsRunnerTests>();
2424
}
2525

26+
#if DEBUG
2627
[Fact]
28+
#endif
2729
public async Task BombardierGetTestWithOptionsTest_Successfull()
2830
{
2931

@@ -67,7 +69,9 @@ public async Task BombardierGetTestWithOptionsTest_Successfull()
6769
Assert.True(bombardierResults.FirstOrDefault().TestStop.Subtract(bombardierResults.FirstOrDefault().TestStart).TotalSeconds == bombardierResults.FirstOrDefault().Duration);
6870
}
6971

72+
#if DEBUG
7073
[Fact]
74+
#endif
7175
public async Task BombardierPostTestWithOptionsTest_Successfull()
7276
{
7377

0 commit comments

Comments
 (0)