Skip to content

Comments

Expand wait condition time for slave selection test#2604

Merged
enjoy-binbin merged 2 commits intovalkey-io:unstablefrom
vitarb:codex/fix-ci-test-failure-with-valgrind
Sep 13, 2025
Merged

Expand wait condition time for slave selection test#2604
enjoy-binbin merged 2 commits intovalkey-io:unstablefrom
vitarb:codex/fix-ci-test-failure-with-valgrind

Conversation

@vitarb
Copy link
Contributor

@vitarb vitarb commented Sep 11, 2025

Summary

*** [err]: Node #10 should eventually replicate node #5 in tests/unit/cluster/slave-selection.tcl
#10 didn't became slave of #5

Testing

  • ./runtest --single unit/cluster/slave-selection
  • ./runtest --single unit/cluster/slave-selection --valgrind

@codecov
Copy link

codecov bot commented Sep 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.26%. Comparing base (9b11d3d) to head (b9c7e33).
⚠️ Report is 2 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #2604      +/-   ##
============================================
+ Coverage     72.21%   72.26%   +0.04%     
============================================
  Files           127      127              
  Lines         70777    70820      +43     
============================================
+ Hits          51114    51179      +65     
+ Misses        19663    19641      -22     

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.

@enjoy-binbin enjoy-binbin changed the title test: expand wait for slave selection Expand wait condition time for slave selection test Sep 12, 2025
@enjoy-binbin
Copy link
Member

please fix the DCO

Signed-off-by: Vitali Arbuzov <Vitali.Arbuzov@proton.me>
@vitarb vitarb force-pushed the codex/fix-ci-test-failure-with-valgrind branch from ed1190f to 449956e Compare September 12, 2025 17:41
@vitarb
Copy link
Contributor Author

vitarb commented Sep 12, 2025

please fix the DCO

Fixed ✅

Co-authored-by: Harkrishn Patro <bunty.hari@gmail.com>
Signed-off-by: Binbin <binloveplay1314@qq.com>
@enjoy-binbin enjoy-binbin merged commit a47e8fa into valkey-io:unstable Sep 13, 2025
49 checks passed
enjoy-binbin pushed a commit that referenced this pull request Sep 16, 2025
…2612)

With #2604 merged, the `Node #10 should eventually replicate node #5`
started passing successfully with valgrind, but I guess we are seeing a
new daily failure from a `New Master down consecutively` test that runs
shortly after.

Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
rjd15372 pushed a commit to rjd15372/valkey that referenced this pull request Sep 19, 2025
## Summary
- extend replication wait time in `slave-selection` test

```
*** [err]: Node valkey-io#10 should eventually replicate node valkey-io#5 in tests/unit/cluster/slave-selection.tcl
valkey-io#10 didn't became slave of valkey-io#5
```

## Testing
- `./runtest --single unit/cluster/slave-selection`
- `./runtest --single unit/cluster/slave-selection --valgrind`

Signed-off-by: Vitali Arbuzov <Vitali.Arbuzov@proton.me>
Signed-off-by: Binbin <binloveplay1314@qq.com>
Co-authored-by: Binbin <binloveplay1314@qq.com>
Co-authored-by: Harkrishn Patro <bunty.hari@gmail.com>
rjd15372 pushed a commit to rjd15372/valkey that referenced this pull request Sep 19, 2025
…alkey-io#2612)

With valkey-io#2604 merged, the `Node valkey-io#10 should eventually replicate node valkey-io#5`
started passing successfully with valgrind, but I guess we are seeing a
new daily failure from a `New Master down consecutively` test that runs
shortly after.

Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
rjd15372 pushed a commit that referenced this pull request Sep 23, 2025
## Summary
- extend replication wait time in `slave-selection` test

```
*** [err]: Node #10 should eventually replicate node #5 in tests/unit/cluster/slave-selection.tcl
#10 didn't became slave of #5
```

## Testing
- `./runtest --single unit/cluster/slave-selection`
- `./runtest --single unit/cluster/slave-selection --valgrind`

Signed-off-by: Vitali Arbuzov <Vitali.Arbuzov@proton.me>
Signed-off-by: Binbin <binloveplay1314@qq.com>
Co-authored-by: Binbin <binloveplay1314@qq.com>
Co-authored-by: Harkrishn Patro <bunty.hari@gmail.com>
rjd15372 pushed a commit that referenced this pull request Sep 23, 2025
…2612)

With #2604 merged, the `Node #10 should eventually replicate node #5`
started passing successfully with valgrind, but I guess we are seeing a
new daily failure from a `New Master down consecutively` test that runs
shortly after.

Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
@sarthakaggarwal97
Copy link
Contributor

@vitarb @enjoy-binbin looks like the test failed again recently 2 days back: https://github.com/valkey-io/valkey/actions/runs/18081789287/job/51446150777#step:6:12830

Should we further increase the wait time?

@sarthakaggarwal97
Copy link
Contributor

Also 3 days back, https://github.com/valkey-io/valkey/actions/runs/18066680642/job/51410287680#step:6:11341. All with valgrind enabled.

hpatro added a commit to hpatro/valkey that referenced this pull request Oct 3, 2025
## Summary
- extend replication wait time in `slave-selection` test

```
*** [err]: Node valkey-io#10 should eventually replicate node valkey-io#5 in tests/unit/cluster/slave-selection.tcl
valkey-io#10 didn't became slave of valkey-io#5
```

## Testing
- `./runtest --single unit/cluster/slave-selection`
- `./runtest --single unit/cluster/slave-selection --valgrind`

Signed-off-by: Vitali Arbuzov <Vitali.Arbuzov@proton.me>
Signed-off-by: Binbin <binloveplay1314@qq.com>
Co-authored-by: Binbin <binloveplay1314@qq.com>
Co-authored-by: Harkrishn Patro <bunty.hari@gmail.com>
Signed-off-by: Harkrishn Patro <harkrisp@amazon.com>
hpatro pushed a commit to hpatro/valkey that referenced this pull request Oct 3, 2025
…alkey-io#2612)

With valkey-io#2604 merged, the `Node valkey-io#10 should eventually replicate node valkey-io#5`
started passing successfully with valgrind, but I guess we are seeing a
new daily failure from a `New Master down consecutively` test that runs
shortly after.

Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
Signed-off-by: Harkrishn Patro <harkrisp@amazon.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.

4 participants