Skip to content

Update tests to catch module context leaks if using aux save/load #2150

Merged
enjoy-binbin merged 1 commit into
valkey-io:unstablefrom
murphyjacob4:auxsave2-ctx-test
May 30, 2025
Merged

Update tests to catch module context leaks if using aux save/load #2150
enjoy-binbin merged 1 commit into
valkey-io:unstablefrom
murphyjacob4:auxsave2-ctx-test

Conversation

@murphyjacob4

Copy link
Copy Markdown
Contributor

See #2132 for the fix.

This just ensures that we always create context in all branches of aux_load and aux_save

@murphyjacob4 murphyjacob4 changed the title Update tests to catch module context leaks if using aux save Update tests to catch module context leaks if using aux save/load May 29, 2025
@codecov

codecov Bot commented May 29, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.36%. Comparing base (73696bf) to head (68eb047).
Report is 1 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #2150      +/-   ##
============================================
+ Coverage     71.26%   71.36%   +0.09%     
============================================
  Files           122      122              
  Lines         66179    66179              
============================================
+ Hits          47163    47229      +66     
+ Misses        19016    18950      -66     

see 15 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread tests/modules/testrdb.c
Signed-off-by: Jacob Murphy <jkmurphy@google.com>
@enjoy-binbin enjoy-binbin merged commit 92c859d into valkey-io:unstable May 30, 2025
50 checks passed
chzhoo pushed a commit to chzhoo/valkey that referenced this pull request Jun 12, 2025
…lkey-io#2150)

See valkey-io#2132 for the fix.

This just ensures that we always create context in all branches of
aux_load and aux_save

Signed-off-by: Jacob Murphy <jkmurphy@google.com>
Signed-off-by: chzhoo <czawyx@163.com>
shanwan1 pushed a commit to shanwan1/valkey that referenced this pull request Jun 13, 2025
…lkey-io#2150)

See valkey-io#2132 for the fix.

This just ensures that we always create context in all branches of
aux_load and aux_save

Signed-off-by: Jacob Murphy <jkmurphy@google.com>
Signed-off-by: shanwan1 <shanwan1@intel.com>
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.

3 participants