envoyproxy/envoy
GitHub で見るrouter check tool: support coverage for routes with runtime set to 100%
Open
#11,502 opened on 2020年6月8日
area/route_check_toolhelp wanted
Repository metrics
- Stars
- (27,997 stars)
- PR merge metrics
- (平均マージ 8d) (30d で 378 merged PRs)
説明
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).