Repository navigation
test: add scenario tests v5 - #2020
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive scenario tests v5 for Redis Cluster functionality, focusing on sharded pub/sub operations with fault injection capabilities. The implementation provides utilities for configuration management, message tracking, fault injection, and command execution in test environments.
- Introduces test utilities for Redis cluster configuration and client management
- Implements fault injection capabilities for testing resilience scenarios
- Adds comprehensive sharded pub/sub scenario tests with failover testing
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| test/scenario/utils/test.util.ts | Core utilities for test configuration, Redis client creation, and test data |
| test/scenario/utils/message-tracker.ts | Message tracking utility for monitoring pub/sub message statistics |
| test/scenario/utils/fault-injector.ts | HTTP client for triggering and monitoring fault injection actions |
| test/scenario/utils/command-runner.ts | Test command execution utility for continuous message publishing |
| test/scenario/sharded-pub-sub.test.ts | E2E scenario tests for sharded pub/sub with fault injection |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
PavelPashov
force-pushed
the
feat/add-scenario-tests
branch
from
September 29, 2025 14:40
973245b to
44e9f8c
Compare
PavelPashov
force-pushed
the
feat/add-scenario-tests
branch
5 times, most recently
from
October 1, 2025 15:10
ac12946 to
91b4fdc
Compare
PavelPashov
force-pushed
the
feat/add-scenario-tests
branch
from
October 2, 2025 07:36
91b4fdc to
33773fb
Compare
nkaradzhov
approved these changes
Oct 6, 2025
|
🎉 This PR is included in version 5.8.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
simong
added a commit
to simong/ioredis
that referenced
this pull request
Nov 3, 2025
* origin/main: chore(release): 5.8.2 [skip ci] fix: move CLIENT SETINFO commands to connection handshake (redis#2033) ci(test): add redis matrix and update docker compose file (redis#2034) docs(example): add example for setting TTL to "HSET Field" (redis#2027) fix: default IP family selection to 0 (redis#2028) chore(release): 5.8.1 [skip ci] test: add scenario tests v5 (redis#2020) fix(ssubscribe): re-subscribe sharded pubsub channels individually (redis#2021) chore(release): 5.8.0 [skip ci] feat: support client setinfo (redis#2011) feat(stream): Add XDELEX command (redis#2003) Add stale issue management workflow (redis#2018) feat: implement proper hpexpire command signatures and tests (redis#2006) feat: add more xtrim method overloads and tests (redis#2010) test(cluster): fix and add cluster tests in CI (redis#2017) Force slots refresh on MOVED error when using ssubscribe (redis#2013) fix(ssubscribe): re-subscribe sharded pubsub channels individually on ready (redis#2012) chore(release): 5.7.0 [skip ci] fix: xread example for TypeScript (redis#1872) feat: Implement hexpire for redis#1898 (redis#1918)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.