Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit b4eefa7

Browse files
authored
IT - Fix error handling (#900)
We should fail the test on Quesma's startup failure.
1 parent 5cb41c0 commit b4eefa7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/it/testcases/utils.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,17 +256,17 @@ func setupAllContainersWithCh(ctx context.Context, quesmaConfigTemplate string)
256256
"clickhouse_port": chPort.Port(),
257257
}
258258
if err := RenderQuesmaConfig(quesmaConfigTemplate, data); err != nil {
259-
log.Fatalf("Failed to render Quesma config: %s", err)
259+
log.Fatalf("Failed to render Quesma config: %v", err)
260260
}
261261

262262
quesma, err := setupQuesma(ctx, quesmaConfigTemplate)
263263
if err != nil {
264-
println(err)
264+
log.Fatalf("Failed to start Quesma, %v", err)
265265
}
266266

267267
kibana, err := setupKibana(ctx, quesma)
268268
if err != nil {
269-
log.Fatalf("Failed to start Kibana container: %s", err)
269+
log.Fatalf("Failed to start Kibana container: %v", err)
270270
}
271271

272272
return &Containers{

0 commit comments

Comments
 (0)