kubernetes-sigs/cluster-api

Detect unexpected errors via logs in envtest and e2e tests

オープン

#11,402 opened on 2024/11/11

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)Go (1,532 件のフォーク)auto 404
area/testinghelp wantedkind/featurepriority/backlogtriage/accepted

Repository metrics

Stars
 (4,267 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド