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

e2e test coverage improvement for policy recommendation #72

Closed
3 tasks done
dreamtalen opened this issue Jul 6, 2022 · 0 comments · Fixed by #77
Closed
3 tasks done

e2e test coverage improvement for policy recommendation #72

dreamtalen opened this issue Jul 6, 2022 · 0 comments · Fixed by #77
Assignees

Comments

@dreamtalen
Copy link

dreamtalen commented Jul 6, 2022

Background

Currently, our e2e test for policy recommendation only covers a single execution of run/status/retrieve CLI commands. And only one single Pod-to-Pod flow traffic is generated for the test of the retrieve command.

Tasks

To have better e2e test coverage, we are planning to add these test cases:

Notes

Because a recommendation job may take several minutes to complete, to minimize the test running time, I'm considering adding the Pod-to-Service and Pod-to-External flows into the current test of the retrieve command instead of creating separate test cases.

To test the failed cases, we could simulate a test case where the Driver Pod is destroyed and unavailable when the policy recommendation job is still running. Then we could check the Status and FailedReason of this job through the status command.

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 a pull request may close this issue.

1 participant