Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage: ratcheting limits #14472

Merged
merged 2 commits into from
Dec 17, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 25 additions & 34 deletions test/per_file_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,76 +8,67 @@ declare -a KNOWN_LOW_COVERAGE=(
"source/common/common:96.1"
"source/common/common/posix:94.1"
"source/common/crypto:0.0"
"source/common/event:92.9" # Emulated edge events guards don't report LCOV
"source/common/event:92.0" # Emulated edge events guards don't report LCOV
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean to lower this?

"source/common/filter:96.3"
"source/common/filter/http:96.3"
"source/common/http/http3:50.0"
"source/common/init:96.2"
"source/common/init:96.4"
"source/common/json:90.6"
"source/common/network:95.1"
"source/common/protobuf:94.3"
"source/common/secret:95.2"
"source/common/signal:83.1" # Death tests don't report LCOV
"source/common/network:95.3"
"source/common/protobuf:94.6"
"source/common/signal:84.5" # Death tests don't report LCOV
"source/common/singleton:95.1"
"source/common/thread:0.0" # Death tests don't report LCOV
"source/common/thread_local:95.7"
"source/common/matcher:92.8"
"source/common/tracing:94.9"
"source/common/watchdog:42.9" # Death tests don't report LCOV
"source/exe:93.7"
"source/exe:93.8"
"source/extensions:96.3"
"source/extensions/common/crypto:91.5"
"source/extensions/common/tap:95.1"
"source/extensions/common/wasm:85.4"
"source/extensions/common/tap:95.9"
"source/extensions/common/wasm:95.4"
"source/extensions/common/wasm/null:77.8"
"source/extensions/common/wasm/v8:85.4"
"source/extensions/common:94.4"
"source/extensions/filters/common:94.7"
"source/extensions/filters/common/expr:92.2"
"source/extensions/filters/common/fault:94.3"
"source/extensions/filters/common/rbac:87.1"
"source/extensions/filters/common:96.3"
"source/extensions/filters/common/expr:95.8"
"source/extensions/filters/common/fault:94.6"
"source/extensions/filters/common/rbac:87.5"
"source/extensions/filters/http/cache:92.4"
"source/extensions/filters/http/cache/simple_http_cache:95.2"
"source/extensions/filters/http/dynamic_forward_proxy:94.9"
"source/extensions/filters/http/grpc_json_transcoder:93.3"
"source/extensions/filters/http/dynamic_forward_proxy:95.0"
"source/extensions/filters/http/grpc_json_transcoder:94.8"
"source/extensions/filters/http/ip_tagging:91.2"
"source/extensions/filters/http/kill_request:94.4" # Death tests don't report LCOV
"source/extensions/filters/http/kill_request:95.0" # Death tests don't report LCOV
"source/extensions/filters/http/oauth2:96.5"
"source/extensions/filters/listener:96.0"
"source/extensions/filters/listener/http_inspector:93.3"
"source/extensions/filters/listener:96.5"
"source/extensions/filters/listener/tls_inspector:92.4"
"source/extensions/filters/network/common:96.1"
"source/extensions/filters/network/common/redis:96.2"
"source/extensions/filters/network/dubbo_proxy:96.1"
"source/extensions/filters/network/dubbo_proxy/router:95.1"
"source/extensions/filters/network/http_connection_manager:95.2"
"source/extensions/filters/network/mongo_proxy:94.0"
"source/extensions/filters/network/mongo_proxy:94.1"
"source/extensions/filters/network/sni_cluster:90.3"
"source/extensions/filters/network/sni_dynamic_forward_proxy:90.9"
"source/extensions/filters/udp:91.1"
"source/extensions/filters/udp/dns_filter:96.9"
"source/extensions/grpc_credentials:92.0"
"source/extensions/health_checkers:95.9"
"source/extensions/health_checkers/redis:95.9"
"source/extensions/quic_listeners:84.8"
"source/extensions/quic_listeners:85.0"
"source/extensions/quic_listeners/quiche:84.8"
"source/extensions/stat_sinks/statsd:85.2"
"source/extensions/tracers:96.0"
"source/extensions/tracers/opencensus:91.2"
"source/extensions/tracers:96.4"
"source/extensions/tracers/opencensus:91.6"
"source/extensions/tracers/xray:94.0"
"source/extensions/transport_sockets:95.1"
"source/extensions/transport_sockets/tap:95.6"
"source/extensions/transport_sockets/tls/ocsp:95.3"
"source/extensions/transport_sockets/tls/private_key:76.9"
"source/extensions/transport_sockets/tls:94.2"
"source/extensions/transport_sockets/tls:94.4"
"source/extensions/wasm_runtime:50.0"
"source/extensions/wasm_runtime/wasmtime:0.0" # Not enabled in coverage build
"source/extensions/wasm_runtime/wavm:0.0" # Noe enabled in coverage build
"source/extensions/watchdog:69.6" # Death tests within extensions
"source/extensions/watchdog/profile_action:84.9"
"source/server:94.5"
"source/extensions/watchdog:85.7" # Death tests within extensions
"source/extensions/watchdog/profile_action:85.7"
"source/server:94.7"
"source/server/admin:95.1"
"source/server/config_validation:75.9"
"source/server/config_validation:76.6"
)

[[ -z "${SRCDIR}" ]] && SRCDIR="${PWD}"
Expand Down