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 E2E test environment for Teleport #17815

Merged
merged 17 commits into from
Dec 19, 2024

Conversation

NouemanKHAL
Copy link
Member

What does this PR do?

Adds a E2E test environment for Teleport using Caddy server with the metric mocks.
Adds a helper python script to randomize the mock values.

Motivation

Generate metrics for testing in internal Orgs.

Additional Notes

To run the helper script:

cd teleport/tests/docker/caddy
python metrics_mock_randomizer.py fixtures/metrics/get.txt &

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Changelog entries must be created for modifications to shipped code
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

Copy link

codecov bot commented Jun 12, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 4 lines in your changes missing coverage. Please review.

Project coverage is 87.63%. Comparing base (32a93c3) to head (381e84e).
Report is 7 commits behind head on master.

Additional details and impacted files
Flag Coverage Δ
teleport 98.16% <77.77%> (-1.46%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Contributor

@HadhemiDD HadhemiDD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The E2E test seems to fail : link
If this is expected and it is just a flaky test, can you mark it as flaky? Otherwise try to fix it

@NouemanKHAL NouemanKHAL added this pull request to the merge queue Dec 19, 2024
Merged via the queue into master with commit f4eabe9 Dec 19, 2024
40 checks passed
@NouemanKHAL NouemanKHAL deleted the noueman/add-teleport-e2e-caddy-env branch December 19, 2024 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants