Conversation
Test Results 301 files - 2 301 suites - 2 12m 4s ⏱️ -6s Results for commit 00523d4. ± Comparison against base commit be47c2f. This pull request removes 26 and adds 8 tests. Note that renamed tests count towards both.This pull request skips 1 test.♻️ This comment has been updated with latest results. |
ee72417 to
c266e87
Compare
2b77f6b to
74d5ebf
Compare
|
augment review |
🤖 Augment PR SummarySummary: This PR updates Jedis integration tests to run cleanly against Redis Enterprise (RE) environments. Changes:
Technical Notes: The new environment gating relies on 🤖 Was this summary useful? React with 👍 or 👎 |
| public class SentinelCommandsTest { | ||
|
|
||
| @RegisterExtension | ||
| public EnvCondition envCondition = new EnvCondition(); |
There was a problem hiding this comment.
| assertEquals(0, client.clientList(ClientType.MASTER).length()); | ||
| assertEquals(1, client.clientList(ClientType.SLAVE).split("\\n").length); | ||
| assertEquals(1, client.clientList(ClientType.REPLICA).split("\\n").length); | ||
| if (!TestEnvUtil.getTestEnvProvider().equals(TestEnvUtil.ENV_REDIS_ENTERPRISE)) { |
There was a problem hiding this comment.
EnvCondition matches environments via equalsIgnoreCase, but this inline check uses equals, so TEST_ENV_PROVIDER=RE/Re would not be treated as Redis Enterprise here. Consider using a case-insensitive comparison for consistency with the rest of the environment gating.
🤖 Was this useful? React with 👍 or 👎
| @AfterAll | ||
| public static void resetRedisAfter() { | ||
| removeSlots(); | ||
| if (endpoint != null) { |
There was a problem hiding this comment.
With the @BeforeAll slot reset removed, a previously “dirty” cluster-unbound could keep slot assignments between runs and impact early assertions. Consider doing a one-time removeSlots() after endpoint is initialized in prepareEndpoints(), in addition to the @AfterAll cleanup.
🤖 Was this useful? React with 👍 or 👎
5334382 to
659c4d4
Compare
- Use endpoint in useWithoutConnecting - Disable startWithUri() on RE
…rge data transfer
1e67bce to
4ae3bd0
Compare
…e' into im/skip-it-not-compatible-with-re
- Rely on correctly configured Redis Cluster instead of testing outdated workarounds with hostname mapping - Merge ACL, SSLOptions and RedisClusterClientIT into one test - Remove redundant utilities
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
Uh oh!
There was an error while loading. Please reload this page.