Skip to content

Replcae sentinel commands sanity check with infrastructure work test#11950

Merged
oranagra merged 2 commits intoredis:unstablefrom
enjoy-binbin:update_sentinel_test
Mar 22, 2023
Merged

Replcae sentinel commands sanity check with infrastructure work test#11950
oranagra merged 2 commits intoredis:unstablefrom
enjoy-binbin:update_sentinel_test

Conversation

@enjoy-binbin
Copy link
Copy Markdown
Contributor

The sanity check test intention was to detect that when a command is
added to sentinel it is on purpose. This test is easily broken, like
CLIENT SETINFO introduced by #11758.

We replace it with a test that validates that a few specific commands
are either there or missing (to test the infrastructure works correctly).

The sanity check test intention was to detect that when a command is
added to sentinel it is on purpose. This test is easily broken, like
CLIENT SETINFO introduced by redis#11758.

We replace it with a test that validates that a few specific commands
are either there or missing (to test the infrastructure works correctly).
@oranagra oranagra merged commit 9c4c90c into redis:unstable Mar 22, 2023
@enjoy-binbin enjoy-binbin deleted the update_sentinel_test branch March 22, 2023 10:18
enjoy-binbin added a commit to enjoy-binbin/redis that referenced this pull request Mar 25, 2023
Since we remove the COMMAND COUNT call in sentinel test in redis#11950,
reply-schemas-validator started reporting this error:
```
WARNING! The following commands were not hit at all:
  command|count
  ERROR! at least one command was not hit by the tests
```

This PR add a COMMAND COUNT test to cover it and also fix some
typos in req-res-log-validator.py
oranagra pushed a commit that referenced this pull request Mar 26, 2023
Since we remove the COMMAND COUNT call in sentinel test in #11950,
reply-schemas-validator started reporting this error:
```
WARNING! The following commands were not hit at all:
  command|count
  ERROR! at least one command was not hit by the tests
```

This PR add a COMMAND COUNT test to cover it and also fix some
typos in req-res-log-validator.py
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