Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Fix crashing PCR test result update worker (DEV) #3003

Merged
merged 3 commits into from Apr 29, 2021

Conversation

d4rken
Copy link
Member

@d4rken d4rken commented Apr 28, 2021

The filtering for coronaTestRepo.refresh(...) did not work and the updated results contained all registered tests.
The worker which used .single() (because there should only be one PCR test) threw an exception after the update.
This caused it to retry despite success and may lead to inconsistent test result behavior.
Other callers of refresh() may also have experienced issues.

Conditions:

  • Have two tests registered
  • Wait for refresh via worker

@d4rken d4rken added bug Something isn't working maintainers Tag pull requests created by maintainers prio PRs to review first. labels Apr 28, 2021
@d4rken d4rken added this to the 2.1.0 milestone Apr 28, 2021
@d4rken d4rken requested a review from a team April 28, 2021 18:59
@d4rken d4rken added the author merge PR to be merged by author label Apr 28, 2021
@sonarcloud
Copy link

sonarcloud bot commented Apr 28, 2021

Kudos, SonarCloud Quality Gate passed!

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

50.0% 50.0% Coverage
0.0% 0.0% Duplication

@AlexanderAlferov AlexanderAlferov self-assigned this Apr 29, 2021
@axelherbstreith axelherbstreith self-assigned this Apr 29, 2021
@harambasicluka harambasicluka merged commit 8e35f50 into release/2.1.x Apr 29, 2021
@harambasicluka harambasicluka deleted the fix/DEV-fix-crashing-pcr-worker branch April 29, 2021 10:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
author merge PR to be merged by author bug Something isn't working maintainers Tag pull requests created by maintainers prio PRs to review first.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants