kubernetes-sigs/cluster-api

Detect unexpected errors via logs in envtest and e2e tests

开放

#11,402 创建于 2024年11月11日

 (6 条评论) (0 个反应) (0 位负责人)Go (1,532 个派生)auto 404
area/testinghelp wantedkind/featurepriority/backlogtriage/accepted

仓库指标

星标
 (4,267 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

It would be great if we find a way to surface unexpected conditions via logs and then check in envtest and e2e tests that they never occur.

Of course this requires us to have an easy way to identify such logs (e.g. they could contain a specific keyword).

Recently we implemented something similar for panics. After envtest and e2e tests are completed we check controller-runtime metrics to ensure no panics occured

贡献者指南