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 合併指標
 (平均合併 3天 1小時) (30 天內合併 114 個 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

貢獻者指南