• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

google / openhtf / 30292888163
64%
master: 64%

Build:
Build:
LAST BUILD BRANCH: test_954476356
DEFAULT BRANCH: master
Ran 27 Jul 2026 06:15PM UTC
Jobs 5
Files 65
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Jul 2026 06:14PM UTC coverage: 63.613% (-0.005%) from 63.618%
30292888163

push

github

copybara-github
Fix thread deadlock during TestExecutor teardown when test_state is None.

When TestState fails during initialization (e.g. InvalidPlugError for unsubstituted placeholders), self.test_state remains None. During thread teardown in the finally block, accessing self.running_test_state raised a secondary TestStopError, which prevented self._execution_finished.set() from being called and caused test.execute() to hang indefinitely until test timeout.

This change guards against None test_state in teardown and close(), and wraps teardown in a try/finally block so _execution_finished.set() is always signaled.

PiperOrigin-RevId: 954728594

8 of 11 new or added lines in 1 file covered. (72.73%)

4853 of 7629 relevant lines covered (63.61%)

3.18 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.25
-0.87% openhtf/core/test_executor.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.13 - 30292888163.1 27 Jul 2026 06:16PM UTC 65
63.61
GitHub Action Run
2 python-3.11 - 30292888163.2 27 Jul 2026 06:16PM UTC 65
63.61
GitHub Action Run
3 python-3.12 - 30292888163.3 27 Jul 2026 06:15PM UTC 65
63.61
GitHub Action Run
4 python-3.14 - 30292888163.4 27 Jul 2026 06:16PM UTC 65
63.6
GitHub Action Run
5 python-3.10 - 30292888163.5 27 Jul 2026 06:16PM UTC 65
63.6
GitHub Action Run
Source Files on build 30292888163
  • Tree
  • List 65
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30292888163
  • 471011e2 on github
  • Prev Build on master (#30140265362)
  • Next Build on test_953449774 (#30292890051)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc