Change the scan test to accept upto 8 odd keys
Fix flaky scan test (hopefully)
If the bug being fixed has an issue written
Fixes https://gitlab.com/Mordil/RediStack/-/issues/23
If the bug being fixed does NOT have an issue written
Expected Results
There are 8 odd numbers in 1...15 - test should accept up to 8 results when matching on this.
Actual Results
Currently max accepted values is 7.
Steps to Reproduce
Unfortunately this is a flaky test which I can't repo locally (I always get 6 results with my local setup even if I deliberately slow the test). CI seems pretty good at finding this though so a few runs of that would probably show if this is working or not.
Checklist:
-
Copyright headers in new files (see CONTRIBUTING.md) -
Unit test case to prevent the bug in the future