Skip to content

Conversation

@zaherg
Copy link
Contributor

@zaherg zaherg commented Feb 26, 2023

This is an attempt to fix a few bugs, currently the errors went down from 55 to 19 using Redis 7 and to 3 using Redis 6)

(Redis 7)
./vendor/bin/phpunit -c phpunit.relay.xml --group relay-todo

ERRORS!
Tests: 140, Assertions: 195, Errors: 19, Failures: 13.
(Redis 6)
./vendor/bin/phpunit -c phpunit.relay.xml --group relay-todo

Tests: 140, Assertions: 174, Errors: 3, Failures: 9, Skipped: 30.

@tillkruss most of what is left related to relay like Wrong number of arguments for 'MOVE' command (argc: 2, arity: 2) (RELAY_ERR_OTHER; commands.c:7344) so any feedback on how to deal with that would be great.

if you think the PR is ready, feel free to merge.

@zaherg zaherg changed the title Fix a few issues Fix a few issues (group relay-todo) Feb 26, 2023
@tillkruss tillkruss marked this pull request as ready for review February 26, 2023 18:42
@tillkruss tillkruss merged commit 1032bf9 into predis:feature/relay Feb 26, 2023
tillkruss added a commit that referenced this pull request Feb 26, 2023
* fix ZUNION_Test

* code style

* fix ZUNIONSTORE_Test

* fix ZPOPMIN_Test

* fix ZPOPMAX_Test

* fix "undefined array key 0" round one

* fix "undefined array key 0" round two

* fix HRANDFIELD_Test

* Fixes for redis 6

* use uniform check

* simplify

* simplify

* simplify

* Update ZRANGE_Test.php

* Update ZPOPMAX_Test.php

* Update ZPOPMIN_Test.php

* Update LCS_Test.php

* uniform

* Update HGETALL_Test.php

* Update WithScores.php

* revert

---------

Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
tillkruss added a commit that referenced this pull request Feb 26, 2023
* fix ZUNION_Test

* code style

* fix ZUNIONSTORE_Test

* fix ZPOPMIN_Test

* fix ZPOPMAX_Test

* fix "undefined array key 0" round one

* fix "undefined array key 0" round two

* fix HRANDFIELD_Test

* Fixes for redis 6

* use uniform check

* simplify

* simplify

* simplify

* Update ZRANGE_Test.php

* Update ZPOPMAX_Test.php

* Update ZPOPMIN_Test.php

* Update LCS_Test.php

* uniform

* Update HGETALL_Test.php

* Update WithScores.php

* revert

---------

Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants