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

test(controller): add extra checks to TestWriteBackToInformer #2326

Merged
merged 1 commit into from
Oct 13, 2022

Conversation

zachaller
Copy link
Collaborator

@zachaller zachaller commented Oct 13, 2022

TestWriteBackToInformer test is a bit flaky add some extra checks to not panic and gain extra info

Signed-off-by: zachaller [email protected]

@sonarcloud
Copy link

sonarcloud bot commented Oct 13, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
1.7% 1.7% Duplication

@zachaller zachaller added the ready-for-review Ready for final review label Oct 13, 2022
@zachaller zachaller added this to the v1.4 milestone Oct 13, 2022
@github-actions
Copy link
Contributor

Go Published Test Results

1 775 tests   1 775 ✔️  2m 29s ⏱️
   101 suites         0 💤
       1 files           0

Results for commit 0a0977c.

@codecov
Copy link

codecov bot commented Oct 13, 2022

Codecov Report

Base: 82.38% // Head: 82.75% // Increases project coverage by +0.37% 🎉

Coverage data is based on head (0a0977c) compared to base (1394f4e).
Patch coverage: 93.51% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2326      +/-   ##
==========================================
+ Coverage   82.38%   82.75%   +0.37%     
==========================================
  Files         121      121              
  Lines       18476    18511      +35     
==========================================
+ Hits        15221    15319      +98     
+ Misses       2468     2408      -60     
+ Partials      787      784       -3     
Impacted Files Coverage Δ
utils/controller/controller.go 82.77% <50.00%> (ø)
rollout/trafficrouting/istio/controller.go 53.36% <72.22%> (+2.55%) ⬆️
controller/controller.go 91.41% <95.04%> (+1.96%) ⬆️
analysis/controller.go 61.53% <100.00%> (+13.05%) ⬆️
controller/metrics/metrics.go 100.00% <100.00%> (ø)
experiments/controller.go 71.42% <100.00%> (+5.67%) ⬆️
ingress/ingress.go 74.00% <100.00%> (+12.94%) ⬆️
rollout/controller.go 80.77% <100.00%> (+2.77%) ⬆️
service/service.go 78.51% <100.00%> (+10.13%) ⬆️
... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

E2E Tests Published Test Results

  1 files    1 suites   48m 44s ⏱️
89 tests 82 ✔️ 3 💤 4
93 runs  86 ✔️ 3 💤 4

For more details on these failures, see this check.

Results for commit 0a0977c.

@mayzhang2000 mayzhang2000 self-requested a review October 13, 2022 22:15
Copy link
Contributor

@mayzhang2000 mayzhang2000 left a comment

Choose a reason for hiding this comment

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

LGTM

@mayzhang2000 mayzhang2000 merged commit e6a0807 into argoproj:master Oct 13, 2022
jenciso pushed a commit to jenciso/argo-rollouts that referenced this pull request Oct 25, 2022
jandersen-plaid pushed a commit to jandersen-plaid/argo-rollouts that referenced this pull request Nov 8, 2022
jandersen-plaid pushed a commit to jandersen-plaid/argo-rollouts that referenced this pull request Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review Ready for final review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants