Repository navigation
Fixed build for tls v1.3 on openssl v1.0.2. Added CI check - #253
Merged
Merged
Conversation
yossigo
approved these changes
Apr 8, 2024
2 tasks done
fcostaoliveira
added a commit
that referenced
this pull request
Oct 25, 2026
Instead of wrapping RLTest.loader.TestFunction.initialize, register the check as a test hook. add_test_hook() is new in the RLTest fork commit pinned here (RedisLabsModules/RLTest#262, on top of #253). The hook gets the test function, so @allow_noauth still opts a test out. test_guard_is_installed_in_rltest now runs a test through RLTest's hook runner and expects the guard to fail it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
fcostaoliveira
added a commit
that referenced
this pull request
Oct 25, 2026
…863) With REDIS_PASSWORD set, a test that started memtier or a redis-py client without credentials got -NOAUTH replies, and nothing failed it. #842 found tests that silently ran unauthenticated. Check every server of the env, masters and replicas, for new errorstat_NOAUTH around each function test. The check runs as an RLTest test hook (add_test_hook, RedisLabsModules/RLTest#262). The RLTest pin moves to a fork commit with that hook on top of #253's cluster-aware replicas. A test that is unauthenticated on purpose opts out with @allow_noauth(reason). The guard fails the test rather than pass when it can read no server before it, and an unexpected error while reading a server (an RLTest API change, say) raises instead of leaving the server unchecked. Replicas get the env password too. shutdown_nosave() reports only a real stop. Its clients, and the guard's, go through bounded_client(), which turns off redis-py retries, including on connections the client already has open, so a refused or successful SHUTDOWN returns at once instead of after seconds of retry backoff, and is never resent. The 3-shard replica failover file with a password takes about 70 s instead of 132 s. Raise the redis-py floor to 6.0, which the harness tests need. test_harness_auth.py covers the auth-argument forwarding, the guard's pass, fail, opt-out and unreadable-server paths, its installation in RLTest, bounded_client and shutdown_nosave. Fixes #842 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
This PR:
Reproduced via:
error: