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

refactor e2e tests #80

Merged
merged 1 commit into from
Mar 21, 2024
Merged

refactor e2e tests #80

merged 1 commit into from
Mar 21, 2024

Conversation

maksim-paskal
Copy link
Owner

@maksim-paskal maksim-paskal commented Mar 21, 2024

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:

  • -resource.name this flag will ignore Azure resourcename from node, will wait events from this resource
  • -exitAfterNodeDrain this flag is needed by e2e tests, this flag wil exits after drain, default false

@codecov-commenter
Copy link

codecov-commenter commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

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

Additional details and impacted files
@@            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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@maksim-paskal maksim-paskal force-pushed the refactor-events branch 12 times, most recently from dd1db28 to 9434838 Compare March 21, 2024 14:31
@maksim-paskal maksim-paskal changed the title refactor refactor e2e tests Mar 21, 2024
@maksim-paskal maksim-paskal force-pushed the refactor-events branch 2 times, most recently from e593996 to 9ea49b7 Compare March 21, 2024 14:41
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:

-resource.name this flag will ignore Azure resourcename from node, will wait events from this resource
-exitAfterNodeDrain this flag is needed by e2e tests, this flag wil exits from from after drain, default false

Signed-off-by: Maksim Paskal <[email protected]>
@maksim-paskal maksim-paskal merged commit 0a7e177 into main Mar 21, 2024
8 checks passed
@maksim-paskal maksim-paskal deleted the refactor-events branch March 21, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants