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 extra tests for no registered subscriber when using RabbitMQClient.subscribe #5318

Merged

Conversation

GitHK
Copy link
Contributor

@GitHK GitHK commented Feb 8, 2024

What do these changes do?

There was a double that having no subscribers attached could send the message in an infinite loop between the delay queue and the main queue. This does not happen.

Related issue/s

How to test

Dev Checklist

DevOps Checklist

@GitHK GitHK self-assigned this Feb 8, 2024
@GitHK GitHK added the a:services-library issues on packages/service-libs label Feb 8, 2024
@GitHK GitHK added this to the Schoggilebe milestone Feb 8, 2024
@GitHK GitHK marked this pull request as ready for review February 8, 2024 15:08
@GitHK GitHK requested a review from pcrespov as a code owner February 8, 2024 15:08
Copy link

codecov bot commented Feb 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4cf8825) 87.2% compared to head (8f091b9) 82.1%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #5318     +/-   ##
========================================
- Coverage    87.2%   82.1%   -5.2%     
========================================
  Files        1317    1049    -268     
  Lines       53935   45225   -8710     
  Branches     1174     611    -563     
========================================
- Hits        47083   37162   -9921     
- Misses       6601    7920   +1319     
+ Partials      251     143    -108     
Flag Coverage Δ
integrationtests 63.8% <ø> (-1.4%) ⬇️
unittests 81.4% <ø> (-3.8%) ⬇️

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

Files Coverage Δ
...service-library/src/servicelib/rabbitmq/_client.py 100.0% <ø> (ø)

... and 407 files with indirect coverage changes

@GitHK GitHK changed the title 🎨 Add extra tests for no registered subscriber 🎨 Add extra tests for no registered subscriber when using RabbitMQClient.subscribe Feb 8, 2024
@GitHK GitHK enabled auto-merge (squash) February 8, 2024 15:12
Copy link

sonarqubecloud bot commented Feb 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@GitHK GitHK merged commit 4bfdd6c into ITISFoundation:master Feb 9, 2024
55 checks passed
@GitHK GitHK deleted the pr-osparc-rabbit-queue-with-no-consumer branch February 9, 2024 09:26
jsaq007 pushed a commit to jsaq007/osparc-simcore that referenced this pull request Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:services-library issues on packages/service-libs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants