Skip to content

🐛 catalogd: e2e metrics: Do not use a fixed namespace for metrics tests #1561

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

Merged

Conversation

camilamacedo86
Copy link
Contributor

Follow op-con's lead on specifying a metrics address

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

Follow op-con's lead on specifying a metrics address

Signed-off-by: Todd Short <[email protected]>
@camilamacedo86 camilamacedo86 requested a review from a team as a code owner January 9, 2025 20:48
@camilamacedo86 camilamacedo86 requested a review from tmshort January 9, 2025 20:48
Copy link

netlify bot commented Jan 9, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 04eca0b
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/67803614197bf00008ba1f1e
😎 Deploy Preview https://deploy-preview-1561--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.68%. Comparing base (75bb73e) to head (04eca0b).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1561   +/-   ##
=======================================
  Coverage   66.68%   66.68%           
=======================================
  Files          57       57           
  Lines        4584     4584           
=======================================
  Hits         3057     3057           
  Misses       1302     1302           
  Partials      225      225           
Flag Coverage Δ
e2e 52.72% <ø> (ø)
unit 53.62% <ø> (ø)

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

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

@@ -108,7 +108,7 @@ func TestCatalogdMetricsExportedEndpoint(t *testing.T) {
require.NoError(t, waitErr, "Error waiting for curl pod to be ready: %s", string(waitOutput))

t.Log("Validating the metrics endpoint")
metricsURL := "https://catalogd-service.olmv1-system.svc.cluster.local:7443/metrics"
metricsURL := "https://catalogd-service." + namespace + ".svc.cluster.local:7443/metrics"
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

@LalatenduMohanty LalatenduMohanty left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 9, 2025
@LalatenduMohanty LalatenduMohanty added this pull request to the merge queue Jan 9, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 9, 2025
@LalatenduMohanty LalatenduMohanty added this pull request to the merge queue Jan 9, 2025
Merged via the queue into operator-framework:main with commit fff1896 Jan 9, 2025
23 checks passed
@camilamacedo86 camilamacedo86 deleted the fix-from-catalogd branch January 10, 2025 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants