Skip to content

Fix failing cluster tests#9707

Merged
oranagra merged 4 commits intoredis:unstablefrom
oranagra:fix-failing-cluster-tests
Oct 31, 2021
Merged

Fix failing cluster tests#9707
oranagra merged 4 commits intoredis:unstablefrom
oranagra:fix-failing-cluster-tests

Conversation

@oranagra
Copy link
Member

@oranagra oranagra commented Oct 31, 2021

Fix failures introduced by #9695 which was an attempt to solve failures introduced by #9679.
An alternative to #9703 (i didn't like the extra argument to kill_instance).

Reverting #9695.
Instead of stopping AOF on all terminations, stop it only on the two which need it.
Do it as part of the test rather than the infra (it was add that kill_instance used R
to communicate to the instance)

Note that the original purpose of these tests was to trigger a crash, but that upsets
valgrind so in redis 6.2 i changed it to use SIGTERM, so i now rename the tests
(remove "kill" and "crash").

Also add some colors to failures, and the word "FAILED" so that it's searchable.

And solve a semi-related race condition in 14-consistency-check.tcl

@oranagra
Copy link
Member Author

Copy link
Contributor

@madolson madolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a more correct solution to me.

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