Skip to content

Log Slowest Tests To Stdout And Github Summary If Possible#249

Open
kei-nan wants to merge 2 commits into
RedisLabsModules:masterfrom
kei-nan:master_jk_log_slowest_tests
Open

Log Slowest Tests To Stdout And Github Summary If Possible#249
kei-nan wants to merge 2 commits into
RedisLabsModules:masterfrom
kei-nan:master_jk_log_slowest_tests

Conversation

@kei-nan
Copy link
Copy Markdown
Contributor

@kei-nan kei-nan commented May 11, 2026

No description provided.

@kei-nan kei-nan requested a review from GuyAv46 May 11, 2026 14:50
@kei-nan kei-nan self-assigned this May 11, 2026
…e-queue coordinator

Reconcile slowest-tests timing collection with PR RedisLabsModules#248's parallel-coordinator
refactor (single results queue, per-test shutdown sentinels). Per-test
timings are now reset and shipped on each per-test message and merged into
self.testsTimings in the coordinator's bounded read loop, replacing the
removed post-join summary loop.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Comment thread RLTest/__main__.py
finally:
after_func()

self.testsTimings.append((testFullName, time.monotonic() - startTime))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this timing include the before_func and after_func? Consider setting the start time in the try (right before calling fn()) and the end time in the finally before the after_func

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 11, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 27 lines in your changes missing coverage. Please review.
✅ Project coverage is 34.02%. Comparing base (02cfbb9) to head (6b3fc9e).
⚠️ Report is 11 commits behind head on master.

Files with missing lines Patch % Lines
RLTest/__main__.py 0.00% 27 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #249      +/-   ##
==========================================
+ Coverage   32.46%   34.02%   +1.56%     
==========================================
  Files          17       17              
  Lines        2597     2716     +119     
==========================================
+ Hits          843      924      +81     
- Misses       1754     1792      +38     
Flag Coverage Δ
unittests 34.02% <0.00%> (+1.56%) ⬆️

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

3 participants