Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add environment config to disable RDB checksum #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeffreylovitz
Copy link
Contributor

@jeffreylovitz jeffreylovitz commented Jul 20, 2021

This PR adds a disableRdbChecksum argument to Env initialization. If set to True, a standard Redis server will be instantiated with the additional argument --rdbchecksum no, which disables validation of RDB checksums. I am unsure if this argument is supported in cluster or enterprise environments.

This is useful in tests which manually modify RDB files.

@codecov-commenter
Copy link

codecov-commenter commented Jul 20, 2021

Codecov Report

Merging #122 (d8452ee) into master (1abac3f) will increase coverage by 0.10%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
+ Coverage   37.59%   37.69%   +0.10%     
==========================================
  Files          17       17              
  Lines        2088     2093       +5     
==========================================
+ Hits          785      789       +4     
- Misses       1303     1304       +1     
Flag Coverage Δ
unittests 37.69% <80.00%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
RLTest/redis_std.py 63.36% <66.66%> (+0.02%) ⬆️
RLTest/env.py 57.61% <100.00%> (+0.23%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1abac3f...d8452ee. Read the comment docs.

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.

2 participants