maksim-paskal / aks-node-termination-handler

Gracefully handle Azure Virtual Machines shutdown within Kubernetes
Apache License 2.0
38 stars 6 forks source link

refactor e2e tests #80

Closed maksim-paskal closed 6 months ago

maksim-paskal commented 6 months ago

Make more reliable e2e test, use same execution logic, as main process. Separate event receiver from main logic, make unit test for event package.

Add new flags:

codecov-commenter commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.94%. Comparing base (8329c49) to head (83ea915).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #80 +/- ## ========================================== - Coverage 98.75% 97.94% -0.81% ========================================== Files 8 9 +1 Lines 240 341 +101 ========================================== + Hits 237 334 +97 - Misses 2 5 +3 - Partials 1 2 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.