Skip to content

Commit

Permalink
IT - Fix error handling (#900)
Browse files Browse the repository at this point in the history
We should fail the test on Quesma's startup failure.
  • Loading branch information
nablaone authored Oct 21, 2024
1 parent 5cb41c0 commit b4eefa7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/it/testcases/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,17 +256,17 @@ func setupAllContainersWithCh(ctx context.Context, quesmaConfigTemplate string)
"clickhouse_port": chPort.Port(),
}
if err := RenderQuesmaConfig(quesmaConfigTemplate, data); err != nil {
log.Fatalf("Failed to render Quesma config: %s", err)
log.Fatalf("Failed to render Quesma config: %v", err)
}

quesma, err := setupQuesma(ctx, quesmaConfigTemplate)
if err != nil {
println(err)
log.Fatalf("Failed to start Quesma, %v", err)
}

kibana, err := setupKibana(ctx, quesma)
if err != nil {
log.Fatalf("Failed to start Kibana container: %s", err)
log.Fatalf("Failed to start Kibana container: %v", err)
}

return &Containers{
Expand Down

0 comments on commit b4eefa7

Please sign in to comment.