Skip to content

Recalculate hardcoded variables from $::instances_count in sentinel tests#7561

Merged
yossigo merged 2 commits intoredis:unstablefrom
mykhailopylyp:sentinel-tests-improvement
Sep 13, 2020
Merged

Recalculate hardcoded variables from $::instances_count in sentinel tests#7561
yossigo merged 2 commits intoredis:unstablefrom
mykhailopylyp:sentinel-tests-improvement

Conversation

@mykhailopylyp
Copy link
Contributor

@mykhailopylyp mykhailopylyp commented Jul 23, 2020

It is not enough to change $::instances_count to run sentinel tests on more instances than five because some tests assume that there are exactly five instances. These changes refactor such tests.

@mykhailopylyp mykhailopylyp changed the title Recalculate hardcoded variables from $::instances_count Recalculate hardcoded variables from $::instances_count in sentinel tests Jul 27, 2020
Copy link
Collaborator

@yossigo yossigo left a comment

Choose a reason for hiding this comment

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

@mykhailopylyp thanks for this PR, it looks good! Can you please remove trailing white spaces before it is merged? Thanks

@yossigo yossigo merged commit cb2c7c4 into redis:unstable Sep 13, 2020
@yossigo
Copy link
Collaborator

yossigo commented Sep 13, 2020

Thank you @mykhailopylyp !

oranagra pushed a commit that referenced this pull request Oct 27, 2020
…ests (#7561)

Co-authored-by: MemuraiUser <[email protected]>
(cherry picked from commit cb2c7c4)
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Nov 4, 2020
jschmieg pushed a commit to memKeyDB/memKeyDB that referenced this pull request Nov 6, 2020
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