Skip to content

Add pause path coverage to replica migration tests#937

Merged
enjoy-binbin merged 4 commits into
valkey-io:unstablefrom
enjoy-binbin:add_more_test
Aug 28, 2024
Merged

Add pause path coverage to replica migration tests#937
enjoy-binbin merged 4 commits into
valkey-io:unstablefrom
enjoy-binbin:add_more_test

Conversation

@enjoy-binbin

Copy link
Copy Markdown
Member

In #885, we only add a shutdown path, there is another path
is that the server might got hang by slowlog. This PR added
the pause path coverage to cover it.

In valkey-io#885, we only add a shutdown path, there is another path
is that the server might got hang by slowlog. This PR added
the pause path coverage to cover it.

Signed-off-by: Binbin <binloveplay1314@qq.com>
@enjoy-binbin enjoy-binbin requested a review from PingXie August 23, 2024 04:14
Signed-off-by: Binbin <binloveplay1314@qq.com>
@codecov

codecov Bot commented Aug 23, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.47%. Comparing base (076bf66) to head (4539853).
Report is 1 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable     #937      +/-   ##
============================================
+ Coverage     70.45%   70.47%   +0.01%     
============================================
  Files           113      113              
  Lines         61744    61744              
============================================
+ Hits          43502    43511       +9     
+ Misses        18242    18233       -9     

see 13 files with indirect coverage changes

Comment thread tests/unit/cluster/replica-migration.tcl Outdated
enjoy-binbin and others added 2 commits August 28, 2024 09:56
Co-authored-by: Ping Xie <pingxie@outlook.com>
Signed-off-by: Binbin <binloveplay1314@qq.com>
Signed-off-by: Binbin <binloveplay1314@qq.com>
@enjoy-binbin enjoy-binbin merged commit 4fe8320 into valkey-io:unstable Aug 28, 2024
@enjoy-binbin enjoy-binbin deleted the add_more_test branch August 28, 2024 03:08
madolson pushed a commit that referenced this pull request Sep 2, 2024
In #885, we only add a shutdown path, there is another path
is that the server might got hang by slowlog. This PR added
the pause path coverage to cover it.

Signed-off-by: Binbin <binloveplay1314@qq.com>
madolson pushed a commit that referenced this pull request Sep 3, 2024
In #885, we only add a shutdown path, there is another path
is that the server might got hang by slowlog. This PR added
the pause path coverage to cover it.

Signed-off-by: Binbin <binloveplay1314@qq.com>
PingXie pushed a commit to PingXie/valkey that referenced this pull request Sep 14, 2024
In valkey-io#885, we only add a shutdown path, there is another path
is that the server might got hang by slowlog. This PR added
the pause path coverage to cover it.

Signed-off-by: Binbin <binloveplay1314@qq.com>
Signed-off-by: Ping Xie <pingxie@google.com>
PingXie pushed a commit to PingXie/valkey that referenced this pull request Sep 14, 2024
In valkey-io#885, we only add a shutdown path, there is another path
is that the server might got hang by slowlog. This PR added
the pause path coverage to cover it.

Signed-off-by: Binbin <binloveplay1314@qq.com>
Signed-off-by: Ping Xie <pingxie@google.com>
PingXie pushed a commit to PingXie/valkey that referenced this pull request Sep 14, 2024
In valkey-io#885, we only add a shutdown path, there is another path
is that the server might got hang by slowlog. This PR added
the pause path coverage to cover it.

Signed-off-by: Binbin <binloveplay1314@qq.com>
Signed-off-by: Ping Xie <pingxie@google.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