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
Collaborator

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 31 lines in your changes missing coverage. Please review.
✅ Project coverage is 33.13%. Comparing base (02cfbb9) to head (6b3fc9e).
⚠️ Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
RLTest/__main__.py 0.00% 31 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #249      +/-   ##
==========================================
+ Coverage   32.46%   33.13%   +0.67%     
==========================================
  Files          17       18       +1     
  Lines        2597     2876     +279     
==========================================
+ Hits          843      953     +110     
- Misses       1754     1923     +169     
Flag Coverage Δ
unittests 33.13% <0.00%> (+0.67%) ⬆️

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.

@kei-nan kei-nan force-pushed the master_jk_log_slowest_tests branch from 3ca03cb to 6b3fc9e Compare May 28, 2026 20:00
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