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

Fix replica online timing issue in failover test #1044

Merged

Conversation

enjoy-binbin
Copy link
Member

Ci reported this failure:

[exception]: Executing test client: ERR FAILOVER target replica is not online..
ERR FAILOVER target replica is not online.
    while executing
"$node_0 failover to $node_1_host $node_1_port"

We can see somehow the replica is not online in time and
casuing this failure, added a verify_replica_online to make
sure the replica is online for the test.

Ci reported this failure:
```
[exception]: Executing test client: ERR FAILOVER target replica is not online..
ERR FAILOVER target replica is not online.
    while executing
"$node_0 failover to $node_1_host $node_1_port"
```

We can see somehow the replica is not online in time and
casuing this failure, added a verify_replica_online to make
sure the replica is online for the test.

Signed-off-by: Binbin <binloveplay1314@qq.com>
@enjoy-binbin
Copy link
Member Author

Copy link

codecov bot commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.61%. Comparing base (ba71c7e) to head (afdf871).
Report is 17 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #1044      +/-   ##
============================================
- Coverage     70.62%   70.61%   -0.02%     
============================================
  Files           114      114              
  Lines         61672    61672              
============================================
- Hits          43555    43548       -7     
- Misses        18117    18124       +7     

see 9 files with indirect coverage changes

@enjoy-binbin enjoy-binbin merged commit 6ce75cd into valkey-io:unstable Sep 23, 2024
46 checks passed
@enjoy-binbin enjoy-binbin deleted the fix_failover_timing_issue branch September 23, 2024 09:35
@enjoy-binbin enjoy-binbin added the test-failure An issue indicating a test failure label Sep 26, 2024
naglera pushed a commit to naglera/placeholderkv that referenced this pull request Oct 10, 2024
Ci reported this failure:
```
[exception]: Executing test client: ERR FAILOVER target replica is not online..
ERR FAILOVER target replica is not online.
    while executing
"$node_0 failover to $node_1_host $node_1_port"
```

We can see somehow the replica is not online in time and
casuing this failure, added a verify_replica_online to make
sure the replica is online for the test.

Signed-off-by: Binbin <binloveplay1314@qq.com>
Signed-off-by: naglera <anagler123@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test-failure An issue indicating a test failure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants