diff --git a/pkg/liqoctl/test/network/check/check.go b/pkg/liqoctl/test/network/check/check.go index a722377124..ea9d0fa470 100644 --- a/pkg/liqoctl/test/network/check/check.go +++ b/pkg/liqoctl/test/network/check/check.go @@ -118,6 +118,9 @@ func RunChecks(ctx context.Context, cl *client.Client, cfg client.Configs, opts logger.Info("All checks completed") PrintCheckResults(successCountTot, errorCountTot, logger) + if errorCountTot > 0 { + return fmt.Errorf("some checks failed") + } return nil }