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

Ignore device-related exception when simulating alerts from history #35

Merged
merged 2 commits into from
Aug 18, 2024

Conversation

hostcc
Copy link
Owner

@hostcc hostcc commented Aug 18, 2024

  • G90Alarm._simulate_alerts_from_history() method now ignores device-related exceptions skipping to next cycle - those could be timeouts etc. Other exceptions will be reported and simulating will be aborted. The method now also properly handles device history being empty, it just skips to next polling cycle

* `G90Alarm._simulate_alerts_from_history()` method now ignores
  device-related exceptions skipping to next cycle - those could be
  timeouts etc. Other exceptions will be reported and simulating will be
  aborted. The method now also properly handles device history being
  empty, it just skips to next polling cycle
@hostcc hostcc added the bug Something isn't working label Aug 18, 2024
Copy link

sonarcloud bot commented Aug 18, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
62.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

1 similar comment
Copy link

sonarcloud bot commented Aug 18, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
62.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Aug 18, 2024

Please retry analysis of this Pull-Request directly on SonarCloud

  `G90Alarm.start_simulating_alerts_from_history()` and child task it
  creates
Copy link

sonarcloud bot commented Aug 18, 2024

Please retry analysis of this Pull-Request directly on SonarCloud

1 similar comment
Copy link

sonarcloud bot commented Aug 18, 2024

Please retry analysis of this Pull-Request directly on SonarCloud

@hostcc hostcc merged commit 018b402 into master Aug 18, 2024
9 of 10 checks passed
@hostcc hostcc deleted the fix/simulate-alerts-device-errors branch August 18, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant