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

Update EventScheduler init for backwards-compat. #46

Merged
merged 5 commits into from
Aug 29, 2023
Merged

Conversation

NeonDaniel
Copy link
Member

@NeonDaniel NeonDaniel commented Aug 29, 2023

Update scheduler init to wait for thread start for test compat.
Add unit test coverage for started state after init

Followup to #45
Resolves OpenVoiceOS/ovos-core#342
Validated https://github.com/OpenVoiceOS/ovos-core/actions/runs/6016994283/job/16322198179?pr=339

Add unit test coverage for started state after init
@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Patch coverage: 68.75% and project coverage change: +4.29% 🎉

Comparison is base (6eb7c56) 49.11% compared to head (9cbb0e1) 53.41%.
Report is 5 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #46      +/-   ##
==========================================
+ Coverage   49.11%   53.41%   +4.29%     
==========================================
  Files          14       14              
  Lines        1189     1084     -105     
==========================================
- Hits          584      579       -5     
+ Misses        605      505     -100     
Files Changed Coverage Δ
ovos_bus_client/version.py 0.00% <0.00%> (ø)
ovos_bus_client/util/scheduler.py 51.41% <70.96%> (+17.36%) ⬆️

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

@NeonDaniel NeonDaniel requested a review from a team August 29, 2023 20:09
@NeonDaniel NeonDaniel marked this pull request as ready for review August 29, 2023 20:09
ovos_bus_client/util/scheduler.py Outdated Show resolved Hide resolved
ovos_bus_client/util/scheduler.py Outdated Show resolved Hide resolved
test/unittests/test_util.py Show resolved Hide resolved
@NeonDaniel NeonDaniel merged commit 1ed65b5 into dev Aug 29, 2023
7 checks passed
@NeonDaniel NeonDaniel deleted the FIX_SchedulerInit branch August 29, 2023 21:34
This was referenced Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unittests hang forever test_event_container.py
3 participants