Skip to content

Commit b9cb8fe

Browse files
committed
Make tests pass
1 parent 63e7184 commit b9cb8fe

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

test/SeqCli.EndToEnd/Bench/BenchTestCase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public Task ExecuteAsync(
1313
ILogger logger,
1414
CliCommandRunner runner)
1515
{
16-
var exit = runner.Exec("bench", "--runs 3");
16+
var exit = runner.Exec("bench", "--runs 3 --with-queries");
1717
Assert.Equal(0, exit);
1818

1919
return Task.CompletedTask;
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using System.Threading.Tasks;
2+
using Seq.Api;
3+
using SeqCli.EndToEnd.Support;
4+
using Serilog;
5+
using Xunit;
6+
7+
namespace SeqCli.EndToEnd.Bench;
8+
9+
public class BenchWithIngestionTestCase : ICliTestCase
10+
{
11+
public Task ExecuteAsync(
12+
SeqConnection connection,
13+
ILogger logger,
14+
CliCommandRunner runner)
15+
{
16+
var exit = runner.Exec("bench", "--runs 2 --with-queries --with-ingestion");
17+
Assert.Equal(0, exit);
18+
19+
return Task.CompletedTask;
20+
}
21+
}

0 commit comments

Comments
 (0)