Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix flaky tests#4071

Merged
petyaslavova merged 21 commits into
masterfrom
ps_fix_flaky_tests
May 20, 2026
Merged

Fix flaky tests#4071
petyaslavova merged 21 commits into
masterfrom
ps_fix_flaky_tests

Conversation

@petyaslavova

@petyaslavova petyaslavova commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Note

Medium Risk
Mostly test-only timing/timeout adjustments to reduce flakiness, plus a small behavior change in CacheProxyConnection.send_command to always drain pending push messages which could impact client-side caching behavior/performance.

Overview
Reduces flakiness across lock, pubsub, connection-pool, vector-set, and hybrid-search tests by loosening timing/TTL assertions, synchronizing publisher start, and making hybrid-search timeout verification more deterministic (including shorter pytest timeouts).

Adds local OpenTelemetry benchmark documentation and a separate benchmarks/requirements.txt for the OTLP gRPC exporter, and switches dev dependencies from opentelemetry-exporter-otlp to the explicit OTLP/HTTP package.

Adjusts client-side caching invalidation handling in redis/connection.py to always drain pending push messages from the cached entry’s connection before re-checking cache validity.

Reviewed by Cursor Bugbot for commit 0c48937. Bugbot is set up for automated code reviews on this repo. Configure here.

@petyaslavova petyaslavova added the maintenance Maintenance (CI, Releases, etc) label May 18, 2026
@jit-ci

jit-ci Bot commented May 18, 2026

Copy link
Copy Markdown

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 98a523f. Configure here.

Comment thread tests/test_asyncio/test_cluster.py
@petyaslavova petyaslavova requested a review from vladvildanov May 20, 2026 12:03
@petyaslavova petyaslavova merged commit 71042ff into master May 20, 2026
678 of 680 checks passed
@petyaslavova petyaslavova deleted the ps_fix_flaky_tests branch May 20, 2026 13:34
petyaslavova added a commit that referenced this pull request May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance (CI, Releases, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants