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

Add reload duration outputs to AP tests #1749

Merged
merged 6 commits into from
Jul 16, 2021
Merged

Conversation

vepatel
Copy link
Contributor

@vepatel vepatel commented Jul 14, 2021

Proposed changes

  • Add reload information to tests
{
    "test_response_code_200_and_server_name[standard-backend1-one-additional-cli-args]": "last reload duration: 236 ms",
    "test_response_code_200_and_server_name[standard-backend2-one-additional-cli-args]": "last reload duration: 236 ms",
    "test_response_code_200_and_server_name[mergeable-backend1-one-additional-cli-args]": "last reload duration: 321 ms",
    "test_response_code_200_and_server_name[mergeable-backend2-one-additional-cli-args]": "last reload duration: 321 ms",
    "test_response_code_200_and_server_name[mergeable-backend1-some-additional-cli-args]": "last reload duration: 127 ms",
    "test_response_code_200_and_server_name[mergeable-backend2-some-additional-cli-args]": "last reload duration: 127 ms",
    "test_response_code_200_and_server_name[standard-backend1-some-additional-cli-args]": "last reload duration: 164 ms",
    "test_response_code_200_and_server_name[standard-backend2-some-additional-cli-args]": "last reload duration: 164 ms"
}
{
    "test_ap_multi_sec_logs[crd_ingress_controller_with_ap0]": "last reload duration: 29924 ms",
    "test_ap_enable_true_policy_correct_uds[crd_ingress_controller_with_ap0]": "last reload duration: 52811 ms"
}

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto master
  • I will ensure my PR is targeting the master branch and pulling from my branch from my own fork

tests/suite/resources_utils.py Outdated Show resolved Hide resolved
tests/suite/resources_utils.py Show resolved Hide resolved
tests/suite/test_ac_policies.py Outdated Show resolved Hide resolved
@vepatel vepatel requested a review from pleshakov July 15, 2021 14:07
@vepatel vepatel merged commit 64ab081 into master Jul 16, 2021
@vepatel vepatel deleted the tests/add-reload-info branch July 16, 2021 12:14
@ciarams87 ciarams87 added the chore Pull requests for routine tasks label Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants