Skip to content

Commit 2c981a6

Browse files
committed
update ingest case
1 parent ce981e8 commit 2c981a6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

test/SeqCli.EndToEnd/Sample/SampleIngestTestCase.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,17 @@ public class SampleIngestTestCase : ICliTestCase
1212
{
1313
public async Task ExecuteAsync(SeqConnection connection, ILogger logger, CliCommandRunner runner)
1414
{
15-
runner.Exec("sample ingest", "--setup --confirm", timeout: TimeSpan.FromSeconds(3));
15+
try
16+
{
17+
runner.Exec("sample ingest", "--setup --confirm", timeout: TimeSpan.FromSeconds(3));
18+
}
19+
catch
20+
{
21+
// Ignored
22+
}
23+
24+
var events = await connection.Events.ListAsync();
25+
Assert.NotEmpty(events);
1626

1727
var sampleWorkspace = (await connection.Workspaces.ListAsync(shared: true))
1828
.SingleOrDefault(w => w.Title == "Sample");

0 commit comments

Comments
 (0)