envoyproxy/envoy

router check tool: support coverage for routes with runtime set to 100%

Open

#11,502 创建于 2020年6月8日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)C++ (5,373 fork)batch import
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).

贡献者指南