envoyproxy/envoy
在 GitHub 查看router check tool: support coverage for routes with runtime set to 100%
Open
#11,502 建立於 2020年6月8日
area/route_check_toolhelp wanted
倉庫指標
- Star
- (27,997 star)
- PR 合併指標
- (平均合併 8天) (30 天內合併 378 個 PR)
描述
The router check tool tests for runtime by treating the runtime setting as enabled when the random_value field is less than the fractional percentage set in the default fraction for the runtime field. To account for when the numerator was 0 (i.e. runtime disabled by default), the tool treats the route as though the numerator is 1 so that users can test for coverage.
A similar workaround needs to be implemented for runtime fractions of 100% (i.e. when the route has runtime enabled by default).