Comments (5)
We should have some reasonable code coverage
target (~60%). This is a bad metric, but it’s a starting point to identifying where to test. This isn’t a long-term standard we will measure, it’s just getting us coverage on the initial impl.
TODO - call out specific components/scenarios that we should test.
from ztunnel.
@stevenctl will create a list of tests needed.
from ztunnel.
Expect several issues to be created today, as well PR(s)
from ztunnel.
Module Statements Missing Excluded Branches Partial Coverage
src/xds/client.rs 453 265 0 0 42%
src/main.rs 63 31 0 0 51%
src/identity/auth.rs 62 28 0 0 55%
src/identity/caclient.rs 94 35 0 0 63%
src/test_helpers/tcp.rs 124 46 0 0 63%
src/test_helpers/mod.rs 33 12 0 0 64%
src/version.rs 51 14 0 0 73%
src/proxy/inbound_passthrough.rs 69 18 0 0 74%
src/socket.rs 196 44 0 0 78%
src/admin/mod.rs 346 74 0 0 79%
src/proxy/outbound.rs 581 97 0 0 83%
src/tls/boring.rs 495 81 0 0 84%
src/proxy/mod.rs 199 32 0 0 84%
src/proxy/inbound.rs 212 29 0 0 86%
src/proxy/socks5.rs 193 20 0 0 90%
src/workload.rs 741 64 0 0 91%
src/identity/manager.rs 375 30 0 0 92%
src/signal.rs 86 5 0 0 94%
src/app.rs 112 6 0 0 95%
src/config.rs 94 5 0 0 95%
src/tls/mod.rs 21 1 0 0 95%
src/xds/mod.rs 23 1 0 0 96%
src/test_helpers/app.rs 127 5 0 0 96%
src/identity/mod.rs 26 1 0 0 96%
src/test_helpers/helpers.rs 28 0 0 0 100%
src/lib.rs 1 0 0 0 100%
tests/proxy.rs 111 0 0 0 100%
src/telemetry.rs 46 0 0 0 100%
Total 4962 944 0 0 81%
from ztunnel.
I think the statement/missing counts are off because it's after macro expansion
from ztunnel.
Related Issues (20)
- Boring build broken for non-FIPS HOT 5
- Random connection resets when accessing a captured workload through a service type LoadBalancer HOT 7
- Dynamically setting network isn't supported HOT 10
- service endpoints don't clean up properly on updates
- HBONE Specification? HOT 7
- XDS Store locking HOT 1
- Reduce memory footprint HOT 3
- When can ztunnel become a production-ready project? HOT 4
- ISTIO_METAJSON labels aren't sent.
- [release-1.19] fix : make ambient work with intermidiary certs HOT 2
- When ztunnel tries to respond with `401 Unauthorized`, it terminates connection HOT 3
- Exponential backoff on CA failures HOT 9
- cannot create new pod in an ambient labeled namespace in ebpf mode HOT 1
- floating forget_certificate function HOT 3
- ztunnel build fails because of "Unable to update https://github.com/howardjohn/boring/?branch=hyper-boring/adopt-hyper-1.0.0#5185311a" HOT 9
- [release-1.20] bump dependency HOT 1
- Ztunnel pod is failed to resolve domain of istiod service. HOT 4
- Support custom SECRET_TTL and SECRET_GRACE_PERIOD_RATIO in ztunnel HOT 9
- tag 1.19.4 failed to compile HOT 1
- ztunnel stuggles to reconnect to istiod HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ztunnel.